On Jun 29, 12:01 am, HeChian <[email protected]> wrote:
> Hi all.
> My host install ruby in /usr/local/ but install rubygems in /home/user/
> ruby/.
> so, when I startup my rails project it always return error to me said
> that it couldn't find any rubygems lib.
>
> anybody knows how to solve it? thanks!
Did you try adding /home/usr/ruby to ruby's search path
eg
ruby -I/home/user/ruby script/console
If that works then you can get ruby to automatically add that for you
by setting the RUBYOPT environment variable to "-I/home/user/ruby"
Fred
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---