Michael Satterwhite | 28 Jun 19:42

LoadError: No such file to load -- wx

I have a program written with wxruby. If I try to execute it with

   timeclock.rb

I get the error "`gem_original_require': no such file to load -- wx
(LoadError)"

If I run it with

   ruby timeclock.rb

it runs correctly. I *AM* aware of the need to load rubygems. Therefore
in my program, I have the explicit statements:

   require 'rubygems'
   require 'wx'

As a result, I'm not sure what could be the problem. Can anyone offer
any help?

Thanks in advance
---Michael
--

-- 
Posted via http://www.ruby-forum.com/.

Gmane