File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ RUN curl -sL https://github.com/nodenv/node-build/archive/master.tar.gz | tar xz
46
46
COPY Gemfile Gemfile.lock .ruby-version ./
47
47
RUN bundle install && \
48
48
rm -rf ~/.bundle/ "${BUNDLE_PATH}" /ruby/*/cache "${BUNDLE_PATH}" /ruby/*/bundler/gems/*/.git && \
49
- bundle exec bootsnap precompile --gemfile
49
+ bundle exec precompile --gemfile
50
50
51
51
# Install node modules
52
52
COPY package.json yarn.lock ./
@@ -56,7 +56,7 @@ RUN yarn install --frozen-lockfile
56
56
COPY . .
57
57
58
58
# Precompile bootsnap code for faster boot times
59
- RUN bundle exec bootsnap precompile app/ lib/
59
+ # RUN bundle exec bootsnap precompile app/ lib/ # disable bootsnapp for now as it causes a crash during deploy
60
60
61
61
# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
62
62
RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
Original file line number Diff line number Diff line change 1
1
ENV [ "BUNDLE_GEMFILE" ] ||= File . expand_path ( "../Gemfile" , __dir__ )
2
2
3
3
require "bundler/setup" # Set up gems listed in the Gemfile.
4
- require "bootsnap/setup" # Speed up boot time by caching expensive operations.
4
+ # require "bootsnap/setup" # Speed up boot time by caching expensive operations.
You can’t perform that action at this time.
0 commit comments