Skip to content

Commit 1891d63

Browse files
committed
Fix error message when trying to install truffleruby on windows
1 parent c782da2 commit 1891d63

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/index.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export async function setupRuby(options = {}) {
3838
const [engine, parsedVersion] = parseRubyEngineAndVersion(inputs['ruby-version'])
3939

4040
let installer
41-
if (platform.startsWith('windows-') && engine === 'ruby') {
41+
if (platform.startsWith('windows-') && engine !== 'jruby') {
4242
installer = require('./windows')
4343
} else {
4444
installer = require('./ruby-builder')

0 commit comments

Comments
 (0)