From: Rubyist Rohit Date: 2012-07-18T02:56:08+09:00 Subject: Ruby error while trying to run wxRuby first application. I copied the sample code from wxRuby documentation and trying to run on my IDE (Rubymibe), but it is giving errors. The code I am trying is below: =========== [CODE] ============= require "wx" include Wx class MainWindow < App def on_init Frame.new(nil, 0).show() end end MinimalApp.new(MainWindow) ================================= The errors are below: ================= [Errors] ========================== F:\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/RubyProjects/RubyStock/Views/MainWindow F:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require': 126: The specified module could not be found. - F:/Ruby193/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-mingw32/lib/wxruby2.so (LoadError) from F:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require' from F:/Ruby193/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-mingw32/lib/wx.rb:12:in `' from F:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `require' from F:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:60:in `rescue in require' from F:/Ruby193/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require' from C:/RubyProjects/RubyStock/Views/MainWindow:1:in `' from -e:1:in `load' from -e:1:in `
' Process finished with exit code 1 =============================================================== How to get rid of these errors and what this error means? -- Posted via http://www.ruby-forum.com/.