diff --git a/Dockerfile b/Dockerfile index 87dbb7567..159ad7dad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz COPY Gemfile Gemfile.lock .ruby-version ./ RUN bundle install && \ rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \ - bundle exec bootsnap precompile --gemfile + bundle exec precompile --gemfile # Install node modules COPY package.json yarn.lock ./ @@ -56,7 +56,7 @@ RUN yarn install --frozen-lockfile COPY . . # Precompile bootsnap code for faster boot times -RUN bundle exec bootsnap precompile app/ lib/ +# RUN bundle exec bootsnap precompile app/ lib/ # disable bootsnapp for now as it causes a crash during deploy # Precompiling assets for production without requiring secret RAILS_MASTER_KEY RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile diff --git a/config/boot.rb b/config/boot.rb index 988a5ddc4..ebfe695f4 100644 --- a/config/boot.rb +++ b/config/boot.rb @@ -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" # Speed up boot time by caching expensive operations. +# require "bootsnap/setup" # Speed up boot time by caching expensive operations.