From 120985c0b081d27a0b0badce69201db6a5c0e2db Mon Sep 17 00:00:00 2001 From: yuenmichelle1 Date: Mon, 22 Jan 2024 23:32:44 -0600 Subject: [PATCH] update comment with troubleshooting docs from miniracer readme --- Dockerfile | 2 +- Dockerfile.dev | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8646b0433..4dfc865d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ ADD ./Gemfile.lock /rails_app/ RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1` # run gem update system so installation of mini_racer does not fail -# See: https://github.com/rubyjs/mini_racer/issues/289#issuecomment-1823077560 +# See troubleshooting for mini_racer and supported ruby versions: https://github.com/rubyjs/mini_racer?tab=readme-ov-file#supported-ruby-versions--troubleshooting # pinning gem update to 3.4.22 since anything higher requires updating Ruby version to 3+ RUN gem i "rubygems-update:~>3.4.22" --no-document && update_rubygems RUN bundle install --without development test diff --git a/Dockerfile.dev b/Dockerfile.dev index 70eb03280..d9c7190ff 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -20,8 +20,8 @@ ADD ./Gemfile.lock /rails_app/ RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1` -# run gem update system so installation of mini_racer does not fail -# https://github.com/rubyjs/mini_racer/issues/289#issuecomment-1823077560 +# run `gem update system` so installation of mini_racer does not fail +# See troubleshooting for mini_racer and supported ruby versions: https://github.com/rubyjs/mini_racer?tab=readme-ov-file#supported-ruby-versions--troubleshooting # pinning gem update to 3.4.22 since anything higher requires updating Ruby version to 3+ RUN gem i "rubygems-update:~>3.4.22" --no-document && update_rubygems RUN bundle install