Skip to content

Instantly share code, notes, and snippets.

@hypomodern
Created February 20, 2012 03:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hypomodern/1867701 to your computer and use it in GitHub Desktop.
Save hypomodern/1867701 to your computer and use it in GitHub Desktop.
HOWTO: Bundler.setup in a sinatra app
$LOAD_PATH << '.'
$LOAD_PATH << 'lib'
require 'rubygems'
require 'bundler'
Bundler.setup :default, (ENV['RACK_ENV'] || 'development')
# your requires here...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment