From 587653ad73281902bbf52b3252c0496b99dacad0 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Tue, 25 Apr 2017 14:55:18 -0700 Subject: [PATCH] remove bootsnap till we sort out linux --- Gemfile | 4 +++- Gemfile.lock | 5 ----- config/boot.rb | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/Gemfile b/Gemfile index 6bf55b31d8e..32101db5da7 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,9 @@ source 'https://rubygems.org' # if there is a super emergency and rubygems is playing up, try #source 'http://production.cf.rubygems.org' -gem 'bootsnap', require: false + +# does not install in linux ATM, so hack this for now +# gem 'bootsnap', require: false def rails_master? ENV["RAILS_MASTER"] == '1' diff --git a/Gemfile.lock b/Gemfile.lock index 5bd3fd8b3c8..217b2948933 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -62,9 +62,6 @@ GEM rack (>= 0.9.0) binding_of_caller (0.7.2) debug_inspector (>= 0.0.1) - bootsnap (0.2.10) - msgpack (~> 1.0) - snappy (~> 0.0.15) builder (3.2.3) bullet (5.4.2) activesupport (>= 3.0.0) @@ -357,7 +354,6 @@ GEM rack-protection (~> 1.4) tilt (>= 1.3, < 3) slop (3.6.0) - snappy (0.0.15) spork (1.0.0rc4) spork-rails (4.0.0) rails (>= 3.0.0, < 5) @@ -404,7 +400,6 @@ DEPENDENCIES barber better_errors binding_of_caller - bootsnap bullet byebug certified diff --git a/config/boot.rb b/config/boot.rb index 5c5ccd4efc3..6d7c45fbd63 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -10,7 +10,7 @@ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE']) -if ENV['BOOTSNAP'] #&& ENV['RAILS_ENV'] != 'production' +if false && ENV['BOOTSNAP'] #&& ENV['RAILS_ENV'] != 'production' require 'bootsnap' Bootsnap.setup( cache_dir: 'tmp/cache', # Path to your cache