Do I have to do anything special to pack gems inside my application's
folder? The following isn't working when I require the gems inside of
my 'Gems' folder:

# rb_main.rb
ENV['GEM_HOME'] = File.dirname(__FILE__) + '/Gems'
require 'rubygems'
require 'mechanize'

`require': no such file to load -- mechanize (LoadError)

If I do the above in IRB it works just fine.

The 'Gems' folder contains the following structure:

Gems
- cache
- doc
- gems
  - mechanize-0.9.2
- specifications
  - mechanize-0.9.2.gemspec

Thanks, and I'm using MacRuby 0.4.

--
Thiago Jackiw
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to