]> git.openstreetmap.org Git - rails.git/commitdiff
Removed ENABLE_BOOTSNAP environment variable
authorMichal Migurski <migurski@fb.com>
Thu, 4 Feb 2021 19:27:10 +0000 (11:27 -0800)
committerMichal Migurski <mike@teczno.com>
Sat, 13 Feb 2021 06:56:17 +0000 (22:56 -0800)
config/boot.rb
docker-compose.yml

index 630904bfcc63fc033b45834ce853223dc2d055c8..988a5ddc460f03c2cafb3b91d98f0cc930ebc8ed 100644 (file)
@@ -1,4 +1,4 @@
 ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
 
 require "bundler/setup" # Set up gems listed in the Gemfile.
-require "bootsnap/setup" if ENV.fetch("ENABLE_BOOTSNAP", "true") == "true" # Speed up boot time by caching expensive operations.
+require "bootsnap/setup" # Speed up boot time by caching expensive operations.
index 1111ad010df35d32bf0337bc7cf3f54bf2f1e95f..8f67212eb72b96a17bcd311cde735805f7b01510 100644 (file)
@@ -14,9 +14,6 @@ services:
       - web-images:/home/osm/images
     ports:
       - "3000:3000"
-    environment:
-      # https://github.com/Shopify/bootsnap/issues/262
-      ENABLE_BOOTSNAP: 'false'
     command: bundle exec rails s -p 3000 -b '0.0.0.0'
     depends_on:
       - db