Dave Burt
9/26/2006 9:44:00 PM
Max Russell wrote:
>> Ruby 1.8.4
>> Gem 0.9.0
>> Blinkenlights 0.0.4
> trying this out again on my Ubuntu box
>
> it echos out the version if I do gem list | grep blinken
> and if I list my local gems, I can see it in there,
>
> however
>
> going in through IRB and trying what I could do with the Windows box I
> find:
>
> 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