From: Joel VanderWerf Date: 2008-03-13T11:53:39+09:00 Subject: Re: Using gems in a script or irb Demonic Software wrote: > I am in the process of trying to setup a ruby development environment (not > for Ruby on Rails), and I was wondering how I go about using ruby gems in a > script or from irb. This works: $ echo $RUBYOPT rubygems That causes ruby to run as if you specified -rubygems on the command line, and there is a lib called ubygems.rb (without the "r") that this loads and which then sets up gems. -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407