Created
February 24, 2010 07:03
-
-
Save orlin/313197 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config.ru | |
begin | |
# Try to require the preresolved locked set of gems. | |
require File.expand_path('../.bundle/environment', __FILE__) | |
rescue LoadError | |
# Fall back on doing an unlocked resolve at runtime. | |
require "rubygems" | |
require "bundler" | |
Bundler.setup | |
end | |
Bundler.require(:default, :pancake) | |
require ::File.join(::File.expand_path(::File.dirname(__FILE__)), "app") | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment