# Installing Rails on Ubuntu Edgy

**URL:** <https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331>\
**Category:** Rails\
**Created:** [April 6, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331 "2007-04-06T21:30:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gregg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/df705f/32.png) [@gregg](https://www.ruby-forum.com/u/gregg)\
**Post date:** [April 6, 2007, 9:30pm UTC](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331/1 "2007-04-06T21:30:19Z")

</div>

I’ve found various online instructions for installing Rails on Ubuntu  
but none of them are perfect. First things first, I already have Ruby  
1.8.4 installed. The executable was named ruby1.8 so I alias’d it to  
ruby so gem would work. I installed rubygems-0.9.2 successfully and  
all the other libraries like rdoc, irb, etc.

Here is what I get when I try and install Rails:

gdboling@gdboling-laptop:~/Desktop/rubygems-0.9.2$ gem install rails –  
include-dependencies  
Bulk updating Gem source index for: [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem … (Gem::GemNotFoundException)  
Could not find rails (\> 0) in any repository

Any help is appreciated.

Gregg

---

<div class="post-metadata">

**Author:** ![gregg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/df705f/32.png) [@gregg](https://www.ruby-forum.com/u/gregg)\
**Post date:** [April 6, 2007, 9:36pm UTC](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331/2 "2007-04-06T21:36:19Z")

</div>

Found the solution:

[http://onestepback.org/index.cgi/Tech/Ruby/DeleteYourCache.red](http://onestepback.org/index.cgi/Tech/Ruby/DeleteYourCache.red)

Gregg

---

<div class="post-metadata">

**Author:** ![gregg](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/df705f/32.png) [@gregg](https://www.ruby-forum.com/u/gregg)\
**Post date:** [April 6, 2007, 10:04pm UTC](https://www.ruby-forum.com/t/installing-rails-on-ubuntu-edgy/91331/3 "2007-04-06T22:04:22Z")

</div>

> Found the solution:
> 
> [http://onestepback.org/index.cgi/Tech/Ruby/DeleteYourCache.red](http://onestepback.org/index.cgi/Tech/Ruby/DeleteYourCache.red)

Debian’s broken support for Ruby is a FAQ on this newsgroup. Here’s  
one Ubuntoid answer:

----8\<-------------------------------

Actually, installing the Rails “stack” (incl. MySql, Apache, Mongrel,  
Subversion) on Ubuntu is a no-brainer, thanks to deprec.

There’s a free screencast that shows the whole process in one go:  
[http://topfunky.com/clients/peepcode/free-episodes/peepcode-free-deprec.mov](http://topfunky.com/clients/peepcode/free-episodes/peepcode-free-deprec.mov)

, and it’s documented elsewhere :  
[http://wiki.slicehost.com/doku.php?id=automated\_rails\_install\_and\_deployment\_with\_deprec\_capistrano](http://wiki.slicehost.com/doku.php?id=automated_rails_install_and_deployment_with_deprec_capistrano)

Alain

----8\<-------------------------------

Please post here about any further battles. I once installed Rails on  
a Kubuntu, got it working, tried to install it on another Kubuntu  
(from the same distro CD!), and never got it working. Finally I threw  
in CentOS, which is a stealth RedHat.

–  
Phlip  
[http://c2.com/cgi/wiki?ZeekLand](http://c2.com/cgi/wiki?ZeekLand) ← NOT a blog!!
