From fa0ce5c790c93473c458a940eabcc7c18995c562 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Fri, 26 Apr 2019 12:55:28 +0530 Subject: [PATCH] Bump bootsnap to a version with disables iseq_cache for Ruby 2.5 - Refs https://github.com/Shopify/bootsnap/pull/257 --- Gemfile | 2 +- Gemfile.lock | 14 +++++++------- .../generators/rails/app/templates/Gemfile.tt | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Gemfile b/Gemfile index f3dea80e45713..69f277be2943d 100644 --- a/Gemfile +++ b/Gemfile @@ -45,7 +45,7 @@ gem "libxml-ruby", platforms: :ruby gem "connection_pool", require: false # for railties app_generator_test -gem "bootsnap", ">= 1.4.2", require: false +gem "bootsnap", ">= 1.4.4", require: false # Active Job group :job do diff --git a/Gemfile.lock b/Gemfile.lock index d15b875864088..8d34d9a24bd2b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -167,9 +167,9 @@ GEM childprocess faraday selenium-webdriver - bootsnap (1.4.2) + bootsnap (1.4.4) msgpack (~> 1.0) - bootsnap (1.4.2-java) + bootsnap (1.4.4-java) msgpack (~> 1.0) builder (3.2.3) bunny (2.13.0) @@ -327,10 +327,10 @@ GEM minitest-server (1.0.5) minitest (~> 5.0) mono_logger (1.1.0) - msgpack (1.2.9) - msgpack (1.2.9-java) - msgpack (1.2.9-x64-mingw32) - msgpack (1.2.9-x86-mingw32) + msgpack (1.2.10) + msgpack (1.2.10-java) + msgpack (1.2.10-x64-mingw32) + msgpack (1.2.10-x86-mingw32) multi_json (1.13.1) multipart-post (2.0.0) mustache (1.1.0) @@ -548,7 +548,7 @@ DEPENDENCIES benchmark-ips blade blade-sauce_labs_plugin - bootsnap (>= 1.4.2) + bootsnap (>= 1.4.4) byebug capybara (>= 2.15) connection_pool diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt index d7221453e7f87..cf5462f7dcdb0 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile.tt +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile.tt @@ -28,7 +28,7 @@ ruby <%= "'#{RUBY_VERSION}'" -%> <% if depend_on_bootsnap? -%> # Reduces boot times through caching; required in config/boot.rb -gem 'bootsnap', '>= 1.4.2', require: false +gem 'bootsnap', '>= 1.4.4', require: false <%- end -%> <%- if options.api? -%>