I'm running windows 7 64-bit, and have installed ruby via the rubyinstaller located at rubyinstaller.org I am trying to
require 'anygemfile'
And am getting
/dir/dir/file:#::in `require': cannot load such file -- anygemfiles (LoadError).
I can load interactive ruby and require 'redis' => true. Yet require 'redis' returns the above error (s/anygemfiles/redis). The same for sprocket, pry. Any gem file.
ruby -v => 1.9.3
gem -v => 1.8.16
which redis => C:\correct\directory
gem install anygem => installs gem
The exact code I'm running works out of the box on linux, as well as other windows boxes.
After reinstalling ruby via the rubyinstaller I am now getting:
C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find redis (>= 0) amongst [bigdecimal-1.1.0, io-console-0.3, json-1.5.4, minitest-2.5.1, rake-0.9.2.2, rdoc-3.9.4] (Gem::LoadError)
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:256:in `to_spec'
from C:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems.rb:1231:in `gem'
from C:/Users/Tom/workspace/ricrb/asdf.rb:1:in `<main>'