Skip to content

Commit

Permalink
[Truffle] Don't expect random things like jirb to be on PATH.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisseaton committed Dec 9, 2016
1 parent 3113f09 commit 07df8f1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion test/truffle/integration/irb.sh
Expand Up @@ -4,7 +4,7 @@ source test/truffle/common.sh.inc

set -e

jt ruby -S irb < test/truffle/integration/irb/input.txt > temp.txt
jt ruby -rirb -e 'IRB.start(__FILE__)' < test/truffle/integration/irb/input.txt > temp.txt

if ! cmp --silent temp.txt test/truffle/integration/irb/output.txt
then
Expand Down
Expand Up @@ -585,9 +585,6 @@ private void processEncodingOption(String value) {

private void runBinScript() {
String scriptName = grabValue("jruby: provide a bin script to execute");
if (scriptName.equals("irb")) {
scriptName = "jirb";
}
config.setScriptFileName(resolveScript(scriptName));
// run as a command if we couldn't find a script
if (config.getScriptFileName() == null) {
Expand Down

0 comments on commit 07df8f1

Please sign in to comment.