Skip to content

Commit

Permalink
concurrent-rubyのバージョンダウン
Browse files Browse the repository at this point in the history
  • Loading branch information
komagata committed Mar 6, 2025
1 parent 2833ca8 commit b9e8486
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,11 @@ RUN yarn install --prod --ignore-engines

# Install gems
COPY Gemfile Gemfile.lock ./
RUN gem install logger
RUN bundle config set --local force_ruby_platform true
RUN bundle install -j4

# Copy application code
COPY . ./

# Fix Logger issue
RUN echo "require 'logger'" > /tmp/fix_logger.rb
RUN ruby /tmp/fix_logger.rb
RUN echo "Logger = ::Logger unless defined?(Logger)" > config/initializers/logger_fix.rb

# Compile assets
ENV RAILS_LOG_TO_STDOUT true
RUN SECRET_KEY_BASE=dummy NODE_OPTIONS=--openssl-legacy-provider bundle exec rails assets:precompile
Expand Down
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ gem 'acts-as-taggable-on'
gem 'addressable'
gem 'any_login'
gem 'cocoon'
gem 'concurrent-ruby', '1.3.4'
gem 'countries', '>= 5.5.0'
gem 'country_select'
gem 'data_migrate'
Expand Down
3 changes: 2 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ GEM
logger (~> 1.5)
cocoon (1.2.15)
coderay (1.1.3)
concurrent-ruby (1.3.5)
concurrent-ruby (1.3.4)
connection_pool (2.5.0)
countries (7.1.1)
unaccent (~> 0.3)
Expand Down Expand Up @@ -648,6 +648,7 @@ DEPENDENCIES
byebug
capybara
cocoon
concurrent-ruby (= 1.3.4)
countries (>= 5.5.0)
country_select
data_migrate
Expand Down

0 comments on commit b9e8486

Please sign in to comment.