Skip to content

Commit

Permalink
Remove the Bash launcher for JRuby on Windows, always use jruby.exe
Browse files Browse the repository at this point in the history
* The Bash launcher causes warnings, see
  ruby/setup-ruby#13 (comment)
  • Loading branch information
eregon committed Jan 30, 2020
1 parent ba5351f commit dc59c99
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
asset_content_type: application/gzip

buildJRubyWindows:
if: false
if: true
strategy:
fail-fast: false
matrix:
Expand All @@ -92,6 +92,8 @@ jobs:
mkdir ~/.rubies
tar xf jruby-dist-${{ matrix.jruby-version }}-bin.tar.gz -C ~/.rubies
cd ~/.rubies/${{ matrix.ruby }}/bin
# Remove the Bash launcher, always use jruby.exe
rm jruby
echo -en "@ECHO OFF\r\n@\"%~dp0jruby.exe\" %*\r\n" > ruby.bat
- name: Install Bundler if needed
shell: bash
Expand Down Expand Up @@ -187,7 +189,7 @@ jobs:
asset_content_type: application/gzip

buildRubinius:
if: true
if: false
strategy:
fail-fast: false
matrix:
Expand Down

0 comments on commit dc59c99

Please sign in to comment.