generated from actions/javascript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 355
Closed
Description
This workflow should be using a specified version of bundler, in this case 1.16.6, but instead it attempts an install of ~> 1.0, seemingly ignorant of the configuration.
The install attempted is the same command as in #326, which is very sus.
/opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v ~> 1.0
Result:
Installing Bundler
Bundler 2 requires Ruby 2.3+, using Bundler 1 on Ruby <= 2.2
/opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem install bundler -v ~> 1.0
ERROR: Error installing bundler:
"bundle" from bundler conflicts with /opt/hostedtoolcache/Ruby/2.2.10/x64/bin/bundle
Took 0.66 seconds
Error: Error: The process '/opt/hostedtoolcache/Ruby/2.2.10/x64/bin/gem' failed with exit code 1
at ExecState._setResult (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:3454:25)
at ExecState.CheckComplete (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:3437:18)
at ChildProcess.<anonymous> (/home/runner/work/_actions/ruby/setup-ruby/v1/dist/index.js:3331:27)
at ChildProcess.emit (events.js:314:20)
at maybeClose (internal/child_process.js:1022:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
Metadata
Metadata
Assignees
Labels
No labels