Forum: Ruby on Rails Installing Ruby On Rails with Gem

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
406c8a51006fa5be31f7cd2e37dfc76b?d=identicon&s=25 Kick The Donkey (Guest)
on 2007-07-25 21:22
(Received via mailing list)
Hi all,

I'm having a bit of a problem with installing ruby on rails using gem
on Ubuntu server.  For some reason, it tells me that the actionmailer
is in an invalid format:

chris@gumshoe:~/rubygems-0.9.4$ sudo gem install rails
Bulk updating Gem source index for:
Install required dependency rake? [Yn]
Install required dependency activesupport? [Yn]
Install required dependency activerecord? [Yn]
Install required dependency actionpack? [Yn]
Install required dependency actionmailer? [Yn]
ERROR:  While executing gem ... (Gem::InstallError)
    invalid gem format for /usr/lib/ruby/gems/1.8/cache/

Any idea what I'm doing wrong here?
3299251223f55753ec84719de39e6e53?d=identicon&s=25 Jon Garvin (Guest)
on 2007-07-26 00:39
(Received via mailing list)
Kick The Donkey wrote:
> Install required dependency activerecord? [Yn]
Hmmm, I haven't installed Rails on Ubuntu Server yet, but it installed
fine for me on my development (feisty desktop) machine.

I will note that installing as a gem is the way to go.  The apt-get
package for ubuntu is guaranteed to cause you problems at sooner or

This topic is locked and can not be replied to.