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

Most upvoted comments

I removed the Bash launcher on JRuby, it seems better now.

Re JRuby on Windows, it seems to work better if we remove the bin/jruby Bash script (and therefore always use the .exe).

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…