trying to make rails work

M

Mohammad Khan

[mkhan@localhost ~]$ ruby -v
ruby 1.8.2 (2004-12-25) [i386-linux]
[mkhan@localhost ~]$ gem -v
0.8.1
[mkhan@localhost ~]$ rails -v
/usr/lib/site_ruby/1.8/rubygems.rb:116:in `activate': (Gem::LoadError)
Could not find RubyGem rails (> 0)
from /usr/lib/site_ruby/1.8/rubygems.rb:34:in `require_gem'
from /usr/local/bin/rails:18
[mkhan@localhost ~]$ rails demo
/usr/lib/site_ruby/1.8/rubygems.rb:116:in `activate': (Gem::LoadError)
Could not find RubyGem rails (> 0)
from /usr/lib/site_ruby/1.8/rubygems.rb:34:in `require_gem'
from /usr/local/bin/rails:18
[mkhan@localhost ~]$


Not sure, where is my mistake..
Please help to find it.

Thanks,
Mohammad
 
K

Kevin Olbrich

Try this first..

gem install rails

-----Original Message-----
From: Mohammad Khan [mailto:[email protected]]
Sent: Wednesday, August 10, 2005 05:02 PM
To: ruby-talk ML
Subject: trying to make rails work



[mkhan@localhost ~]$ ruby -v
ruby 1.8.2 (2004-12-25) [i386-linux]
[mkhan@localhost ~]$ gem -v
0.8.1
[mkhan@localhost ~]$ rails -v /usr/lib/site_ruby/1.8/rubygems.rb:116:in
`activate': (Gem::LoadError) Could not find RubyGem rails (> 0)
from /usr/lib/site_ruby/1.8/rubygems.rb:34:in `require_gem'
from /usr/local/bin/rails:18
[mkhan@localhost ~]$ rails demo /usr/lib/site_ruby/1.8/rubygems.rb:116:in
`activate': (Gem::LoadError) Could not find RubyGem rails (> 0)
from /usr/lib/site_ruby/1.8/rubygems.rb:34:in `require_gem'
from /usr/local/bin/rails:18
[mkhan@localhost ~]$


Not sure, where is my mistake..
Please help to find it.

Thanks,
Mohammad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top