From: Pito Salas Date: 2009-04-25T09:38:01+09:00 Subject: Re: Odd Ruby/Rubygems/gem path problem Eric Hodel wrote: > On Apr 24, 2009, at 13:49, Pito Salas wrote: > >> # see that it refuses to see the shoulda gem from the command line >> $ ruby -rshoulda -e "puts 1" >> ruby: no such file to load -- shoulda (LoadError) >> $ ruby -rubygems -rshoulda -e "puts 1" >> ruby: no such file to load -- shoulda (LoadError) >> $ ruby -rubygems -rshoulda -e "puts 1" > > the -r command line option uses rb_require() the C function, not > Kernel#require the method. 1.9 does not have this limitation. Eric, thanks. I am not sure of the implication of that. Are you saying therefore that one cannot rely on -rrubygems -rshoulda to work? - Pito -- Posted via http://www.ruby-forum.com/.