Ruby 2.1.5 available

0 comments

Ruby 2.1.5 has been released, and is now available on Packager. Please see the documentation for the list of available ruby versions.

One-liner to get a precompiled Ruby on your own servers

0 comments

At Packager we maintain ruby binaries for all the distributions we support (Debian / Ubuntu / CentOS / RHEL / Fedora), regularly updated to keep up with patch releases.

Even without using our packaging service, it's actually pretty useful to just get Ruby and Rubygems installed on a new server in no time.

It's similar to what you can achieve with RVM.io or rbenv, but you don't need to install any tool, and the binaries make no assumption that they'll be running under RVM or rbenv.

For instance, let's say you wanted to install Ruby 2.1.4 on a Ubuntu 14.04 server:

    $ curl https://s3.amazonaws.com/pkgr-buildpack-ruby/current/ubuntu-14.04/ruby-2.1.4.tgz -o - | sudo tar xzf - -C /usr/local

    $ ruby -v
    ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-linux]

    $ gem -v
    2.2.2

Replace ubuntu-14.04 and 2.1.4 in the cURL command with, respectively, any of the supported distributions and any of the supported ruby versions (coming back to ruby 1.9.2), and you're good to go:

Debian

    $ curl https://s3.amazonaws.com/pkgr-buildpack-ruby/current/debian-7/ruby-2.1.4.tgz -o - | sudo tar xzf - -C /usr/local

Ubuntu

    $ curl https://s3.amazonaws.com/pkgr-buildpack-ruby/current/ubuntu-14.04/ruby-2.1.4.tgz -o - | sudo tar xzf - -C /usr/local

    $ curl https://s3.amazonaws.com/pkgr-buildpack-ruby/current/ubuntu-12.04/ruby-2.1.4.tgz -o - | sudo tar xzf - -C /usr/local

CentOS / RHEL

    $ curl https://s3.amazonaws.com/pkgr-buildpack-ruby/current/centos-6/ruby-2.1.4.tgz -o - | sudo tar xzf - -C /usr/local

Fedora

    $ curl https://s3.amazonaws.com/pkgr-buildpack-ruby/current/fedora-20/ruby-2.1.4.tgz -o - | sudo tar xzf - -C /usr/local

Security: Note that you can extract the archive into any directory, which may be better if you don't want to run tar as root, or pollute your /usr/local directory. For instance:

    $ curl https://s3.amazonaws.com/pkgr-buildpack-ruby/current/ubuntu-14.04/ruby-2.1.4.tgz -o - | tar xzf - -C ~/custom/path

    $ ~/custom/path/bin/ruby -v
    ruby 2.1.4p265 (2014-10-27 revision 48166) [x86_64-linux]

    $ ~/custom/path/bin/gem -v
    2.2.2

In that case, you need to specify the full path to the binaries, or add it to your $PATH.

Enjoy!

Ruby 2.1.4 available

0 comments

Following CVE-2014-8080, Ruby 2.1.4 is now available, as well as updated versions of Ruby 2.0.0 and Ruby 1.9.3.

You can find more details in the Ruby documentation.

Fedora 20 available

0 comments

Thanks to the support of OpenProject, Fedora 20 is now available as a new target distribution on Packager. You can now get rpm and deb packages for up to 6 distributions:

  • Ubuntu 12.04
  • Ubuntu 14.04
  • Debian 7
  • CentOS 6
  • RHEL 6
  • Fedora 20

More details in the documentation.

Happy packaging!

MRI Ruby 2.1.3 available

0 comments

Ruby 2.1.3 was just announced today, and is now available on Packager.io for all distributions.

Have a look at the documentation if you want to try the latest and greatest!

Discourse 1.0.1 packages available for Ubuntu 12.04/14.04 and Debian 7

0 comments

Big milestone for the Discourse project with version 1.0! And, you can now get packages for that version at https:.

Those packages are following the stable branch from the Discourse repository, so any updates coming from our debian repository should be good to go in production.

For those of you upgrading from an earlier version, you can just do (on Ubuntu 14.04 for instance):

wget -qO - https://deb.packager.io/key | sudo apt-key add -
echo "deb https://deb.packager.io/gh/pkgr/discourse trusty pkgr" | sudo tee /etc/apt/sources.list.d/discourse.list
sudo apt-get update
sudo apt-get install discourse

discourse run rake db:migrate
service discourse restart

Have a look at https://packager.io/gh/pkgr/discourse to find out installation instructions for your distribution. </https:>

Automatically package your Golang apps!

0 comments

You can now get RPM or DEB packages for your Go app in just one push. Golang support has been added for all distributions, based on the Go buildpack.

As an example, you can have a look at Gogs (Go Git Service), which is an awesome app for hosting your Git repositories, and is now packaged for Ubuntu 14.04. More details at http://gogs.io/docs/installation/install_from_packages.html

<iframe width="560" height="315" src="//www.youtube.com/embed/xllP7BP_qgs?rel=0" frameborder="0" allowfullscreen></iframe>

If you're interested, have a look at our documentation, or the minimum Go example app.

Happy packaging!

Install Discourse on Debian 7, Ubuntu 12.04, or Ubuntu 14.04 in less than 5 minutes

0 comments

The packaged version of Discourse (the new Forum on the block) has now been upgraded to the latest stable release (0.9.9.13), and is available to apt-get install on all recent Debian and Ubuntu LTS distributions.

Have a look at the Discourse installations instruction for Debian and Ubuntu.

And as always, when a new update is available, just apt-get upgrade to get it automatically!

As always, let us know at support@packager.io if you encounter any issues.

Analytics for your packages

0 comments

Once you've got your packages generated with Packager, wouldn't it be nice to know how many people are downloading them, and from where? This is exactly what our new Download map allows you to know.

screen shot 2014-07-01 at 8 12 10 am

Every time an apt-get install your-package or yum install your-package is made, we register that hit, and we display a nice (clustered) map so that you can see at a glance where your users are.

This is extremely useful to know in which part of the world you should concentrate your community or marketing efforts. For instance, from the Download map of the OpenProject application, we can see that while the project seems well known in Europe, it would be useful to dedicate some effort to promote it in the rest of the world.

In the future, we'll add more insights, for instance which distributions are the most used, how many users are polling for updates, etc. Also, note that the Download map is only enabled once you reach 10 downloads.

Enjoy!

Announcing RPM support for your Ruby and NodeJS projects

0 comments

We're happy to announce the availability of a RPM builder for CentOS 6.x, and the corresponding mechanism to release the generated RPM packages into your very own hosted YUM repository.

It was tested with a number of projects, including GitLab, so we're confident that your own applications should be building properly. To see how easy it is to add this build target to your list, you can have a look at the diff for GitLab's .pkgr.yml file, and the corresponding build.

With this new addition, with a single push of code you can now get packages generated, and hosted, for:

  • Ubuntu 12.04 Precise
  • Ubuntu 14.04 Trusty
  • Debian 7 Wheezy
  • CentOS 6.x & RHEL 6.x

As always, don't hesitate to get in touch if you have any questions.

Happy packaging!