Kernel#system behaves differently under MRI and JRuby for missing commands
--------------------------------------------------------------------------

                 Key: JRUBY-1080
                 URL: http://jira.codehaus.org/browse/JRUBY-1080
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
         Environment: Mac OS X 10.4
            Reporter: Dudley Flanders


{noformat}
[EMAIL PROTECTED] ~ :> ruby -e "system('thisisnotacommand')"    
[EMAIL PROTECTED] ~ :> jruby -e "system('thisisnotacommand')"
/bin/sh: line 1: thisisnotacommand: command not found
{noformat}

I noticed this when I was trying to build AR-JDBC, which depends on hoe. Hoe 
uses system() to determine what diff command to use, but currently this fails 
and aborts the rake build.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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