--0-1267471154-11438419268697 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit thanks! Logan Capaldo <logancapaldo / gmail.com> wrote: On Mar 31, 2006, at 3:23 PM, john peter wrote: > Thanks! That worked. Not sure what was wrong with require_gem > Nothing is wrong with require_gem. It has an unfortunate name though. It should really be called activate_gem or something similar. require_gem only actually require's the library if it uses autorequire, which is deprecated now. require_gem is to select things like a given version of a gem, ie: require_gem 'some_gem', '> .0' you still have to do the require 'some_gem' line > Michael Guterl wrote: I'm not sure why the > above doesn't work, but check below for a working > version. > > powerbook:~ michaelguterl$ irb > irb(main):001:0> require 'rubygems' >