From: tamouse mailing lists Date: 2013-05-07T21:41:57+09:00 Subject: Re: can't find gems On Tue, May 7, 2013 at 6:54 AM, Peter Bailey wrote: > Hi, > My install of Ruby doesn't seem to be able to find any gems. I'm getting > this error when just running a Ruby script. I'm using Ruby 2.0.0.p0. > > F:\workflows\graphics\Asura-Non\RCSCR\in>ruby -d > e:\live\scripts\ruby\asura-non\rcscr\rcscr_pdf_single.rb > hist205ar-15.pdf > > Exception `LoadError' at C:/Ruby200/lib/ruby/2.0.0/rubygems.rb:1082 - > cannot load such file -- rubygems/defaults/ruby > Exception `Errno::ENOENT' at C:/Ruby200/lib/ruby/2.0.0/fileutils.rb:1620 > - No such file or directory - hist205ar-15.pdf > C:/Ruby200/lib/ruby/2.0.0/fileutils.rb:1620:in `stat': No such file or > directory - hist205ar-15.pdf (Errno::ENOENT) > > Thank you, > Peter > > -- > Posted via http://www.ruby-forum.com/. > What do you get if you just try something like: ruby -e 'puts "Hello, world"' Also, try running that script without the file name argument. And have you checked to make sure hist205ar-15.pdf does exist in the directory you're running that from?