Forum: Ruby Rails didn't install correctly

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
1b62a85b59ccab03b84ee5ec378f75b4?d=identicon&s=25 Steve Litt (Guest)
on 2005-12-28 19:28
(Received via mailing list)
Hi all,

I already sent this to the Rails list, but I figure someone here might
know
how to troubleshoot this.

Apparently rails didn't install correctly on my Mandrake 10.0 system.
=================================
[slitt@mydesk work]$ rails demo
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:204:in
`report_activate_error':
Could not find RubyGem rails (> 0) (Gem::LoadError)
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:141:in
`activate'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options'
        from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in
`require_gem'
        from /usr/bin/rails:17
[slitt@mydesk work]$
=================================

What is "RubyGem rails (> 0)"?

I installed rails with this command as root:

gem install rails --include-dependencies

It errored out (can't remember what it didn't find) so I ran it again
and it
said it installed successfully.

My Mandrake 10.0 came with Ruby 1.8.1 which is insufficient for rails,
so I
installed ruby 1.8.4 in /usr/local/bin, and then renamed the ruby in
/usr/bin
to ruby.1.8.1, and then set up a symlink from /usr/bin/ruby
to /usr/local/bin/ruby. At that point, running Ruby brought up 1.8.4.

I have no idea what the error message meant by "RubyGem rails (> 0)".
Can
anyone give me some hints on how to troubleshoot this?

Thanks

SteveT

Steve Litt
http://www.troubleshooters.com
slitt@troubleshooters.com
This topic is locked and can not be replied to.