From: Mark Volkmann Date: 2005-09-26T23:31:12+09:00 Subject: Re: Linux install of 1.8.2 On 9/26/05, Hugh Sasse wrote: > On Mon, 26 Sep 2005, Mark Volkmann wrote: > > > I've installed Ruby 1.8.2 from source under Fedora Core Linux. It > > Which version of GCC does that ship with? Or are you using > something else for that matter? I'm using GCC and it is version 3.3.1. > > works, but when I run "ri String" I get "No such file to load -- > > Which bits actually work, when you say "It works"? What I meant was that "ruby -v" responds with "ruby 1.8.2 (2004-12-25) [i686-linux]". > How was make test when you did that before install? It says "test succeeded". > > rdoc/ri/ri_driver (LoadError). Also, when I run "irb" I get "No such > > file to load -- irb (LoadError)". Is there something I have to do to > > tell it that ruby-1.8.2/lib should be in the default LOAD_PATH? > > > > When I run the following under my Windows installation I get lots of output. > > > > ruby -e "puts $LOAD_PATH" > > > > However, when I run that under my Linux installation I get no output > > indicating that there is nothing in my default $LOAD_PATH. > > What about > ruby -e "puts $LOAD_PATH.inspect" > > Which would tell you the difference between nil and an empty string, > which may have some diagnostic value. As Guy suggested, I just needed to use single quotes around the command instead of double. The LOAD_PATH it outputs looks fine except that all the directories start with /usr/local/lib/ruby. -- R. Mark Volkmann Partner, Object Computing, Inc.