U:>gem list --local watir
LoadError: no such file to load – watir
from (irb):1:in `require’
from (irb):1
irb(main):002:0>
i made it to work by loading rubygems first.
U:>irb
irb(main):001:0> require ‘watir’
LoadError: no such file to load – watir
from (irb):1:in `require’
from (irb):1
irb(main):002:0> require ‘rubygems’
=> true
irb(main):003:0> require ‘watir’
=> true
irb(main):004:0>
However, i never had to load rubygems before. the script i am running
was working before i reimaged my machine and reloaded ruby. what did i
miss in my install that i have to require ‘rubygems’ now.
However, i never had to load rubygems before. the script i am running
was working before i reimaged my machine and reloaded ruby. what did i
miss in my install that i have to require ‘rubygems’ now.
Perhaps your old system had the following environment variable:
RUBYOPT=rubygems setup.