Skip to content

Commit

Permalink
Add gem bootsnap and set it up
Browse files Browse the repository at this point in the history
  • Loading branch information
rud committed Jul 19, 2018
1 parent ff45c53 commit 920d38c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -25,6 +25,7 @@ gem 'rack-ssl', require: 'rack/ssl' # force SSL
gem 'rack-ssl-enforcer', require: false
gem 'rails_autolink'
gem 'useragent'
gem 'bootsnap', require: false # faster application boot

# Please don't update hoptoad_notifier to airbrake.
# It's for internal use only, and we monkeypatch certain methods
Expand Down
7 changes: 7 additions & 0 deletions Gemfile.lock
Expand Up @@ -53,6 +53,10 @@ GEM
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootsnap (1.3.1)
msgpack (~> 1.0)
bootsnap (1.3.1-java)
msgpack (~> 1.0)
bson (4.3.0)
bson (4.3.0-java)
builder (3.2.3)
Expand Down Expand Up @@ -208,6 +212,8 @@ GEM
mongoid (>= 4.0.0)
rails (>= 4.2.0)
railties (>= 4.2.0)
msgpack (1.2.4)
msgpack (1.2.4-java)
multi_json (1.13.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
Expand Down Expand Up @@ -450,6 +456,7 @@ DEPENDENCIES
airbrake (~> 4.3.5)
better_errors
binding_of_caller
bootsnap
campy
capistrano
capistrano-bundler
Expand Down
1 change: 1 addition & 0 deletions config/boot.rb
Expand Up @@ -12,6 +12,7 @@
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)

require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
require 'bootsnap/setup'
require 'json'

begin
Expand Down

0 comments on commit 920d38c

Please sign in to comment.