Ruby on Rails Thursday, May 24, 2012

Quoting Meow san <meowsanforever@hotmail.com>:
> /usr/bin/rake:9:in `require': no such file to load -- rubygems
> (LoadError)
> from /usr/bin/rake:9
>
> I got this error when following an online guide in rails, the command
> I had to type in was # rake db:create.. after I typed in the command I
> got the above error. It's almost 2 days that I'm searching for a
> solution to this. But in vain,
>

Is rubygems installed? At the command line, type:

gem list --local rubygems

If nothing listed, type "gem install rubygems", preferably as root.

HTH,
Jeffrey

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment