From: Ralf Mueller Date: 2009-06-17T14:57:42+09:00 Subject: Re: gem_original_require no such file to load Hima Kiran wrote: > Hi, > I am new to Ruby, I am trying my hands with WebMetrics with a simple > login logout script generation, which left me with the first line of the > script > require 'wm/dependencies' > when I run this in Scite, it give the following error > d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `gem_original_require': no such file to load -- wm/dependencies > (LoadError) > from d:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in > `require' > > I tried in google to find the problem, but no one has listed > wm/dependencies. > I also tried reinstalling all (ruby, watir and webmetrics). Please help > me out of this. > > Thanks & Regards, > Kiran. > Hi Kiran Welcome to Ruby! I guess, you set the RUBYOPT environment variable, right? If so, I think you should check the installed gem at first with "gem list -l". If everything is as expected (hopefully), then it should work out of the box If not, you could check the GEM-Environment with "gem env". Maybe the GEM_PATH is set to a global directory and gem automatically installed in some local directory (e.g. $HOME/.gem/ruby/1.8 or something). Then you should create/set shell environements like shown here: http://docs.rubygems.org/read/chapter/15#page101 beste regards and good luck ralf