From: Joel Pearson Date: 2013-06-19T18:56:57+09:00 Subject: Re: Creating ruby script exe Ocra scans your script before it executes it anyway, but you might find you'll need to actively use some gems for them to picked up properly. Here's an excerpt from a class I use with Ocra builds sometimes: ________ def initialize # Allow EXE build without running. if defined?(Ocra) # Let OCRA pick up the cookies from Mechanize. Mechanize.new.cookies # Quit so Ocra can do its thing. exit end # Normal stuff goes here... @agent = Mechanize.new end -- Posted via http://www.ruby-forum.com/.