S
Steve Litt
Hi all,
I already sent this to the Rails list, but I figure someone here might know=
=20
how to troubleshoot this.
Apparently rails didn't install correctly on my Mandrake 10.0 system.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
[slitt@mydesk work]$ rails demo
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:204:in `report_activate_error=
':=20
Could not find RubyGem rails (> 0) (Gem::LoadError)
=A0 =A0 =A0 =A0 from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `=
activate'
=A0 =A0 =A0 =A0 from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in=20
`require_gem_with_options'
=A0 =A0 =A0 =A0 from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `r=
equire_gem'
=A0 =A0 =A0 =A0 from /usr/bin/rails:17
[slitt@mydesk work]$
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
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 i=
t=20
said it installed successfully.
My Mandrake 10.0 came with Ruby 1.8.1 which is insufficient for rails, so I=
=20
installed ruby 1.8.4 in /usr/local/bin, and then renamed the ruby in /usr/b=
in=20
to ruby.1.8.1, and then set up a symlink from /usr/bin/ruby=20
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=20
anyone give me some hints on how to troubleshoot this?
Thanks
SteveT
Steve Litt
http://www.troubleshooters.com
(e-mail address removed)
I already sent this to the Rails list, but I figure someone here might know=
=20
how to troubleshoot this.
Apparently rails didn't install correctly on my Mandrake 10.0 system.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
[slitt@mydesk work]$ rails demo
/usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:204:in `report_activate_error=
':=20
Could not find RubyGem rails (> 0) (Gem::LoadError)
=A0 =A0 =A0 =A0 from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:141:in `=
activate'
=A0 =A0 =A0 =A0 from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:37:in=20
`require_gem_with_options'
=A0 =A0 =A0 =A0 from /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:31:in `r=
equire_gem'
=A0 =A0 =A0 =A0 from /usr/bin/rails:17
[slitt@mydesk work]$
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D
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 i=
t=20
said it installed successfully.
My Mandrake 10.0 came with Ruby 1.8.1 which is insufficient for rails, so I=
=20
installed ruby 1.8.4 in /usr/local/bin, and then renamed the ruby in /usr/b=
in=20
to ruby.1.8.1, and then set up a symlink from /usr/bin/ruby=20
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=20
anyone give me some hints on how to troubleshoot this?
Thanks
SteveT
Steve Litt
http://www.troubleshooters.com
(e-mail address removed)