# Rails in Ubuntu - need help

**URL:** <https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430>\
**Category:** Rails\
**Created:** [July 30, 2010, 8:24am UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430 "2010-07-30T08:24:22Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![karthikeyan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Post date:** [July 30, 2010, 8:24am UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430/1 "2010-07-30T08:24:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![karthikeyan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Post date:** [July 30, 2010, 10:23am UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430/2 "2010-07-30T10:23:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![karthikeyan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Post date:** [July 30, 2010, 2:23pm UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430/3 "2010-07-30T14:23:52Z")

</div>

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

> **[installing ubuntu for ruby development](https://www.dixis.com/posts/75)**
>
> ruby rvm ubuntu

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

---

<div class="post-metadata">

**Author:** ![karthikeyan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Post date:** [July 30, 2010, 1:47pm UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430/4 "2010-07-30T13:47:44Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![karthikeyan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Post date:** [July 30, 2010, 3:29pm UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430/5 "2010-07-30T15:29:14Z")

</div>

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](http://rohitarondekar.com/articles/installing-rails3-beta3-on-ubuntu-using-rvm)

Cheers,  
Rohit Arondekar  
[http://rohitarondekar.com](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.

---

<div class="post-metadata">

**Author:** ![karthikeyan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/898d66/32.png) [@karthikeyan](https://www.ruby-forum.com/u/karthikeyan)\
**Post date:** [July 30, 2010, 5:43pm UTC](https://www.ruby-forum.com/t/rails-in-ubuntu-need-help/192430/6 "2010-07-30T17:43:01Z")

</div>

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.
> 
> [Rails Development on Ubuntu 10.04 · coding in the rain](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](http://www.marnen.org)  
removed\_email\_address@domain.invalid
