Mark, rbconfig.rb is a standard part of the ruby distribution that
shouldn't be missing from your LOAD_PATH, so
it looks like something weird is going on. Can you do this successfully:
ruby -v -rpp -rrbconfig -e 'pp Config::CONFIG'
If so, the output (rather long) might help us see what's up.
···
On 9/17/05, Mark Volkmann <r.mark.volkmann@gmail.com> wrote:
I've recently started using Ruby under Linux as opposed to Windows. I
have Ruby 1.8.2 installed. I'm trying to install rubygems.
When I run "ruby setup.rb" I get "no such file to load -- rbconfig".
I think this is a LOAD_PATH problem. I didn't have a LOAD_PATH
environment variable defined (never needed it under Windows), so I
tried that.
LOAD_PATH=.:$RUBY_HOME:$RUBY_HOME/lib
Running "ruby setup.rb" gave the same result, so I tried "ruby -I
$LOAD_PATH setup.rb" and got "No such file to load -- syck".
Do I need to specify LOAD_PATH? What else could I be doing wrong?
The installation instructions just say to run "ruby setup.rb".
I tried your suggestion anyway and got the same result from "ruby
setup.rb config".
This really seems to be a LOAD_PATH issue. What should my LOAD_PATH be
by default?
···
On 9/17/05, James Britt <james_b@neurogami.com> wrote:
Mark Volkmann wrote:
> I've recently started using Ruby under Linux as opposed to Windows. I
> have Ruby 1.8.2 installed. I'm trying to install rubygems.
>
> When I run "ruby setup.rb" I get "no such file to load -- rbconfig".