From: Max Russell Date: 2006-09-28T20:33:37+09:00 Subject: Re: Cookbook example - uninitialized constant Dave Burt wrote: > Max Russell wrote: >>> Ruby 1.8.4 >>> Gem 0.9.0 >>> Blinkenlights 0.0.4 > >> irb(main):001:0> require 'blinkenlights' >> LoadError: no such file to load -- blinkenlights >> from (irb):1:in `require' >> from (irb):1 >> >> >> So why would gem report that the gem is there, but IRB not think it >> installed? > > You'll need to require 'rubygems' first. (The Windows One-Click > Installer sets the environment variable RUBYOPT=rubygems so that > rubygems is automatically required when Ruby is run.) > > FWIW, I'm using the same versions as you on my Windows box, and the > script works for me. > > Cheers, > Dave Thanks- my home box is Ubuntu though and that is principally where I want to run this... -- Posted via http://www.ruby-forum.com/.