From: Roger Pack Date: 2009-02-14T14:18:12+09:00 Subject: Re: how to require more than one thing from the command line Roger Pack wrote: > Is there a way to do this? > $ ruby -rrubygems -rfacets -e '3' > ruby: no such file to load -- facets (LoadError) Seems this is a gems quirk of some type. > Also is there a way to do something like > $ ruby -e 'initialization code' filename.rb As per Nobu's advice. ruby -e 'some pre init stuff; load($0 = ARGV.shift)' filename.rb Something like that. Thanks! -=r -- Posted via http://www.ruby-forum.com/.