Skip to content

Commit

Permalink
Removed ENABLE_BOOTSNAP environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
migurski committed Feb 13, 2021
1 parent 7be797c commit a3e2309
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion config/boot.rb
Original file line number Diff line number Diff line change
@@ -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.
3 changes: 0 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3e2309

Please sign in to comment.