Home > bash, debian, rails > Install latest JRuby/Rails on Debian

Install latest JRuby/Rails on Debian

The Debian stable distribution (“squeeze”) includes JRuby 1.5.1, which is old.

This is how I installed the latest JRuby:

sudo apt-get install curl
curl -L https://get.rvm.io | bash -s stable
rvm install jruby
rvm use jruby
jruby —S gem install rails
Advertisements
Categories: bash, debian, rails
  1. Brett Giles
    March 20, 2013 at 02:28

    Works just as well on Ubuntu, OSX 10.8 and Bodhi Linux. I also use RVM for the latest ruby – OSX native ruby, for example, is still 1.8

    • March 21, 2013 at 00:23

      Good to know. Thanks, Brett! :)

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: