From: bbiker Date: 2009-08-07T01:55:06+09:00 Subject: Re: including gems with standalone app On Aug 6, 12:43 pm, Eric Peterson wrote: > Also tried, but still get no such file to load -- html-table (LoadError) > when I attempt to require it. > >   Gem.clear_paths >   ENV['GEM_HOME'] = File.join( 'C:', 'Ruby', 'lib', 'ruby', 'site_ruby', > '1.8' ) >   ENV['GEM_PATH'] = File.join( 'C:', 'InWork', 'myApp', 'gem' ) >   Gem.use_paths( ENV['GEM_PATH'], [ENV['GEM_HOME']] ) >   require 'rubygems' >   require 'html-table' > -- > Posted viahttp://www.ruby-forum.com/. since you appear to be on Windows, I suggest that you look into "ocra". This will package your code, gems that you use and ruby interpreter as a stand alone executable program.