aboutsummaryrefslogtreecommitdiffstats
path: root/config/boot.rb
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2013-01-25 21:53:05 +0100
committerHarald Eilertsen <haraldei@anduin.net>2013-01-25 21:53:05 +0100
commitf087c23c8600fe197d3a59f4a0cd839754459b37 (patch)
tree5577105a38545b143efec0bdb8c134bea04005c8 /config/boot.rb
downloadhmnoweb-f087c23c8600fe197d3a59f4a0cd839754459b37.tar.gz
hmnoweb-f087c23c8600fe197d3a59f4a0cd839754459b37.tar.bz2
hmnoweb-f087c23c8600fe197d3a59f4a0cd839754459b37.zip
Initial commit.
Diffstat (limited to 'config/boot.rb')
-rw-r--r--config/boot.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/boot.rb b/config/boot.rb
new file mode 100644
index 0000000..4489e58
--- /dev/null
+++ b/config/boot.rb
@@ -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'])