From: Erik Veenstra Date: 2008-09-06T17:05:47+09:00 Subject: Re: Error when running an exe created with rubyscript2exe RubyScript2Exe and RubyGems 1.2.0 don't play very well together: http://groups.google.com/group/ruby-talk-google/browse_frm/thread/f922ec9ef52af7e4 http://rubyforge.org//tracker/index.php?func=detail&aid=21467&group_id=126&atid=575 Add "require 'rubygems'" _in_ your application and temporarily remove rubygems from RUBYOPT before compiling: $ RUBYOPT= ruby rubyscript2exe.rb test.rb Or: C:\> unset RUBYOPT C:\> ruby rubyscript2exe.rb test.rb That seems to work. At least, on my machine... gegroet, Erik V. - http://www.erikveen.dds.nl/