aboutsummaryrefslogtreecommitdiff
path: root/testapp/config/boot.rb
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-10-10 08:03:13 +0100
committerChristopher Baines <mail@cbaines.net>2018-10-11 18:27:05 +0100
commit8af754e1087d662ab68964aa67685d48b8e7c4fc (patch)
treea4b6e0d3c07ca10a32dfb802d8072aff75944d13 /testapp/config/boot.rb
parent6516fc56b91f91aae7a082f662bf5cf9afd1149c (diff)
downloadguix-demo-8af754e1087d662ab68964aa67685d48b8e7c4fc.tar
guix-demo-8af754e1087d662ab68964aa67685d48b8e7c4fc.tar.gz
Run rails new testapp --skip-bundle
Diffstat (limited to 'testapp/config/boot.rb')
-rw-r--r--testapp/config/boot.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/testapp/config/boot.rb b/testapp/config/boot.rb
new file mode 100644
index 0000000..b9e460c
--- /dev/null
+++ b/testapp/config/boot.rb
@@ -0,0 +1,4 @@
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
+
+require 'bundler/setup' # Set up gems listed in the Gemfile.
+require 'bootsnap/setup' # Speed up boot time by caching expensive operations.