setup-ruby: bundle install fails on windows-latest after using bundle config
If I use bundle config to set bundler options (e.g., bundle config --local without docs), the subsequent call to bundle install fails. The action gives no reason why it failed.
##[error]Process completed with exit code 1.
This does not happen on ubuntu-latest.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 36 (16 by maintainers)
Commits related to this issue
- Remove the Bash launcher for JRuby on Windows, always use jruby.exe * The Bash launcher causes warnings, see https://github.com/eregon/use-ruby-action/issues/13#issuecomment-580486125 — committed to ruby/ruby-builder by eregon 4 years ago
- Remove the Bash launcher for JRuby on Windows, always use jruby.exe * The Bash launcher causes warnings, see https://github.com/eregon/use-ruby-action/issues/13#issuecomment-580486125 * Add tests w... — committed to ruby/ruby-builder by eregon 4 years ago
I removed the Bash launcher on JRuby, it seems better now.
Sorry, I haven’t really looked at JRuby on Windows. But, unless the bash script does something, I’d use the exe. There is no script with mswin or mingw builds for Ruby itself. All the gem bin files are
.bat,.cmd, or.ps1. Windows normally needs the extension to know how to launch the file…@slonopotamus That’s documented in https://github.com/eregon/use-ruby-action#versioning