Skip to content

Commit

Permalink
enable corepack in our isolated generation environment
Browse files Browse the repository at this point in the history
  • Loading branch information
trinitytakei committed Feb 21, 2025
1 parent 86cafb4 commit 34e956a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/docker-entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ if [ ! -d "/var/lib/rails-new-io/rails-env/ruby" ] || [ "$FORCE_ISOLATED_RUBY_RE
export BUNDLE_USER_HOME=/var/lib/rails-new-io/rails-env/bundle # Fix: Update path to match CommandExecutionService
export BUNDLE_APP_CONFIG=/var/lib/rails-new-io/rails-env/bundle # Fix: Update path to match CommandExecutionService

echo "DEBUG: Setting up corepack"
/var/lib/rails-new-io/rails-env/node/bin/corepack enable
/var/lib/rails-new-io/rails-env/node/bin/corepack prepare yarn@4.6.0 --activate

echo "DEBUG: Updating RubyGems to 3.6.3"
/var/lib/rails-new-io/rails-env/ruby/bin/gem update --system 3.6.3

Expand Down

0 comments on commit 34e956a

Please sign in to comment.