Reputation: 151196
I did
gem install wxruby
on Win 7
and in Ruby 1.8.6
require 'rubygems'
require 'wxruby'
but it will say
c:/ruby1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- wxruby (LoadError)
from c:/ruby1.8.6/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from go.rb:5
Update: I changed it to require 'wx'
and it is now saying MSVCP71.dll
missing... I am somewhat hesitant to download a dll and run it from a random site if it is not from MS's official website.
Upvotes: 0
Views: 1251
Reputation: 36
I had trouble installing wxruby under x64 ubuntu linux, so I tried under Windows 7, what worked for me was:
Then just requiring 'wx' should work in your scripts, at least I dont seem to need to require rubygems.
Upvotes: 2
Reputation: 66861
I think wxruby has their own windows ruby distributable's, don't they? That might have all the dependencies you need...
Upvotes: 0