Forum: wxRuby Error with require "wx"

Posted by Tom Ladyman (thebadger890)
on 2010-11-14 18:25
I have installed the wxruby gem, with no errors, but when I try to
inclue the gem, I get this error:


<internal:lib/rubygems/custom_require>:29:in `require': 126: The
specified module could not be found.   -
C:/Ruby192/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-mingw32/lib/wxruby2.so
(LoadError)
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-mingw32/lib/wx.rb:12:in
`<top (required)>'
        from <internal:lib/rubygems/custom_require>:33:in `require'
        from <internal:lib/rubygems/custom_require>:33:in `rescue in
require'
        from <internal:lib/rubygems/custom_require>:29:in `require'
        from
C:/Users/Tom/Documents/NetBeansProjects/testserial/lib/main.rb:3:in
`<main>'

I've tried installing the other packages, the .exe ones, and still just
get that error..
Thanks for any help,
Tom
Posted by Rolando Gaudin (rolo)
on 2010-11-20 08:28
Hi,
   first uninstall the gem wxruby to avoid any potential conflicts and
try 'gem install wxruby-ruby19',worked in Windows 7 x64 with
RubyInstaller 1.9.2 p0.

RoLo
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.