On 11/4/06, Alexander Mikhailian <[EMAIL PROTECTED]> wrote:
> Try this:
>
> export GEM_HOME=/home/lowry/lib/ruby/gems/1.8
> ruby setup.rb all --prefix=/home/lowry

It worked like a charm!

But I could not go further.

Actually, when I run "gem" from the command line, I get

/home/lowry/bin/gem:9:in `require': no such file to load -- rubygems (LoadError)
        from /home/lowry/bin/gem:9

It probably looks for the file at "lib/site_ruby/1.8/rubygems.rb", but
can't find it.

Rubygems was installed in /home/lowry, right?  Is that where the Ruby interpreter was installed?  If not, you have to let it know where to find its libraries.  You can do that by setting an environment variable (something like RUBY_PATH or RUBY_LIB or RUBY_DIR, perhaps without the underscore ... check the documentation).

--
--
-- Jim Weirich    [EMAIL PROTECTED]     http://onestepback.org
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to