Quick Bundler searches for the nearest Gemfile and loads the libraries specified inside it. Stick this at the top of you're app ...

require "rubygems"
require "quick-bundler"

... and you're done!