Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

trying to install gems locally

0 views
Skip to first unread message

msoulier

unread,
Jun 11, 2006, 8:34:06 PM6/11/06
to
Hey,

I don't want to mess with my distro's version of Ruby, so I built Ruby
to a ruby directory in $HOME via --prefix in configure.

I then grabbed rubygems, and ran $HOME/ruby/bin/ruby setup.rb. It
installed, but now when I try to run it, I get this.

[msoulier@tigger ~]$ $HOME/ruby/bin/gem
/home/msoulier/ruby/bin/gem:3:in `require': No such file to load --
rubygems
(LoadError)
from /home/msoulier/ruby/bin/gem:3

Little help? Just trying to install a local copy of rails to play
around with.

Mike

msoulier

unread,
Jun 12, 2006, 8:44:53 AM6/12/06
to
msoulier wrote:
> [msoulier@tigger ~]$ $HOME/ruby/bin/gem
> /home/msoulier/ruby/bin/gem:3:in `require': No such file to load --
> rubygems
> (LoadError)
> from /home/msoulier/ruby/bin/gem:3

Found the problem. It installs with an intepreter of #!/usr/bin/env
ruby. Considering that I had to install it via $HOME/ruby/bin/ruby
setup.rb, you'd think it would be smart enough to use that interpreter.
Perl does this just fine.

Mike

0 new messages