I am new to Ruby and in the process of learning wxruby.
Installed wxruby then I have created a simple ruby code
I first went to wxruby\ruby\bin and typed ruby wxruby.rb
The UI got displayed and everything worked fine.
But when I try to run the same code attached using Jet Brains RubyMine
The error message that I am geting is given below
require': 126: The specified module could not be found. - C:/Ruby19/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-mingw32/lib/wxruby2.so (LoadError) from C:/Ruby19/lib/ruby/gems/1.9.1/gems/wxruby-2.0.1-x86-mingw32/lib/wx.rb:12:in<top (required)>’
require' from D:/wxruby/ruby/bin/wxruby.rb:1:in<top (required)>’
load' from -e:1:in’
Process finished with exit code 1
After running through RubyMine editor when I again went back command
prompt and then to bin directory in the location where wxruby was
installed as wxruby\ruby\bin and executed using ruby wxruby.rb the same
error popped up. Initially this was working fine. After executing
through RubyMineeditor even from command prompt in bin directory it
fails with the same error.
Please help me how to solve the problem
Thanks in advance