Using Bundler with MacRuby
Here's how I got Bundler to work with my MacRuby app.
Create your Gemfile.
Run rvm info and find GEM_HOME and GEM_PATH.
Go into Xcode and hit Project > Edit Scheme. Click into run MyApp.app, then select the Arguments tab. Enter the GEM_HOME and GEM_PATH variables and values into Environment variables.
In rb_main.rb add require 'rubygems' followed by the gems you want to use. You can now run bundle install from the command line, and then you'll be able to use your gems in MacRuby!











