Installing Rails on Ubuntu Edgy

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
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository

Any help is appreciated.

Gregg

Found the solution:

http://onestepback.org/index.cgi/Tech/Ruby/DeleteYourCache.red

Gregg

Found the solution:

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

, and it’s documented elsewhere :
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 ← NOT a blog!!