Issue Type: Bug Bug
Affects Versions: JRuby 1.7.0, JRuby 1.7.0.RC2, JRuby 1.7.0.RC1, JRuby 1.7.0.pre2, JRuby 1.7.0.pre1
Assignee: Thomas E Enebo
Created: 22/Oct/12 4:32 PM
Description:

Running the command

jruby -e "system 'ant -version'"

prints the version of ant when run with MRI or JRuby 1.6.x, but just returns with no output with JRuby 1.7.0.preview1 or newer.

The exit status from the system call stored in $? is 127 when the command fails.

Calling system 'which ant' gives the correct path /usr/bin/ant.

Calling system 'env' lists a PATH than includes /usr/bin.

Calling

jruby -e "system '/usr/bin/ant -version'"

prints the ant version as expected.

Calling

jruby -e "system 'git --version'"

prints the version of git as expected. git is also located in /usr/bin.

Not sure what to try next. All help is greatly appreciated. Not being able to call ANT from a JRuby script cripples development.

Environment: OS X 10.8.2 Mountain Lion, Apple Java 1.6.0_37, Oracle Java 1.7.0_09
Fix Versions: JRuby 1.7.1
Project: JRuby
Priority: Critical Critical
Reporter: Uwe Kubosch
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to