Skip to content

Instantly share code, notes, and snippets.

@elmer
Forked from leehambley/bundler-header.rb
Created March 18, 2010 22:56
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 elmer/337018 to your computer and use it in GitHub Desktop.
Save elmer/337018 to your computer and use it in GitHub Desktop.
bundle setup
begin
require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
# Fallback on doing the resolve at runtime.
require "rubygems"
require "bundler"
Bundler.setup
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment