Skip to content

Commit 449c3d6

Browse files
Fix bin/setup not to install ruby-head-wasm-wasi's Gemfile
The ruby-head-wasm-wasi's Gemfile uses vendor/cache to install js gem but the cache gem is not yet available at setup-time. And also with cache gem, the Gemfile is not needed to be installed at setup-time. So just skip the Gemfile installation here
1 parent d284789 commit 449c3d6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

bin/setup

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ root="$(cd "$(dirname "$0")/.." && pwd)"
77

88
env BUNDLE_GEMFILE="$root/Gemfile" bundle install
99
for gemfile in $root/packages/npm-packages/*/Gemfile; do
10+
# Skip ruby-head-wasm-wasi's Gemfile because it does not need to be installed here
11+
if [[ "$gemfile" == *"/ruby-head-wasm-wasi/Gemfile" ]]; then
12+
continue
13+
fi
14+
1015
# FIXME: This is a workaround for the following issue:
1116
# 1. `bundle install` does not support auto-self-upgrade for pre-release bundler versions suffixed with ".dev"
1217
# 2. ruby-head-wasm-wasi's component build depends on 2.6.0.dev, which added --target-rbconfig support

0 commit comments

Comments
 (0)