Rails in Ubuntu - need help

Hello RoR,

When I try apt-get install rails in (K)Ubuntu, all I get is Rails
2.2.3 , what to do to install rails 2.3.8 (the latest version)

Thanks in advance.

With my debian i use apt-get for install ruby but after i download and
install RubyGems, after “gem install rails”.

I have written a blogpost myself about it, which uses rvm to get to
the latest versions.

http://www.dixis.com/?p=260

But you shouldn’t be using apt-get install rails, but use gem install rails instead.

When I recently needed to create a new Ubuntu VM quickly, I didn’t have
my notes available, but I found this blog… Worked out quite well, and
it was nice to see someone who keeps a blog up to date.

http://ascarter.net/2010/05/10/rails-development-on-ubuntu-10.04.html

Kubuntu should be close to the same, but I have zippy experience with
the Kubuntu flavor.

Hello,

I thought I’d plug my own article, using RVM and Ruby 1.9.2. It’s for
Rails 3 beta but should work for 2.3.8 too. You’ll only need to replace
the last bit, gem install rails --pre with gem install rails. Also if
you want to install a different version of Ruby, simply replace
1.9.2-head with whatever you want. There are links to resources at the
bottom of the article that should help.

link:
http://rohitarondekar.com/articles/installing-rails3-beta3-on-ubuntu-using-rvm

Cheers,
Rohit Arondekar
http://rohitarondekar.com

Karthikeyan wrote:

Hello RoR,

When I try apt-get install rails in (K)Ubuntu, all I get is Rails
2.2.3 , what to do to install rails 2.3.8 (the latest version)

Thanks in advance.

Ar Chron wrote:

When I recently needed to create a new Ubuntu VM quickly, I didn’t have
my notes available, but I found this blog… Worked out quite well, and
it was nice to see someone who keeps a blog up to date.

http://ascarter.net/2010/05/10/rails-development-on-ubuntu-10.04.html

Kubuntu should be close to the same, but I have zippy experience with
the Kubuntu flavor.

It would make no difference whatsoever. The only difference in Kubuntu
is that it uses KDE instead of GNOME, so if you’re using command-line
tools, there will not be any noticeable change.

Best,

Marnen Laibow-Koser
http://www.marnen.org
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs