diff config/boot.rb @ 0:4aa8194a1733

Initial.
author Edho Arief <edho@myconan.net>
date Sun, 26 Aug 2012 10:58:26 -0700
parents
children 96631607785f
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config/boot.rb	Sun Aug 26 10:58:26 2012 -0700
@@ -0,0 +1,6 @@
+require 'rubygems'
+
+# Set up gems listed in the Gemfile.
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+
+require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])