Shell scripts from JRuby dist tarball built on Windows don't work on Linux due 
to wrong line endings
----------------------------------------------------------------------------------------------------

                 Key: JRUBY-954
                 URL: http://jira.codehaus.org/browse/JRUBY-954
             Project: JRuby
          Issue Type: Improvement
          Components: Miscellaneous
    Affects Versions: JRuby 1.0.0RC2
            Reporter: Albert Strasheim
            Assignee: Thomas E Enebo


I checked out the JRuby source on Windows and built jruby-bin-1.0.0RC2.tar.gz 
on Windows. I then copied over the tarball to a Linux machine, extracted it, 
and attempted to run JRuby:

[EMAIL PROTECTED] ~]$ jruby-1.0.0RC2/bin/jruby foo.rb
-bash: jruby-1.0.0RC2/bin/jruby: /bin/bash^M: bad interpreter: No such file or 
directory

This error is due to the jruby script (and probably the other scripts) having 
Windows line endings instead of UNIX line endings.

[Ant's FixCRLF Task|http://ant.apache.org/manual/CoreTasks/fixcrlf.html] can 
probably fix this issue.

-- 
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