require 'rubygems' require 'geminstaller' # You can use the geminstaller_rails_preinitializer out of the GemInstaller gem: # require 'geminstaller_rails_preinitializer' # ...or specify your own. We'll use the one from this working copy of GemInstaller: require "#{File.expand_path(RAILS_ROOT)}/../../../lib/geminstaller_rails_preinitializer.rb"