jruby -x (executing ruby embedded into a message) fails -------------------------------------------------------
Key: JRUBY-5844 URL: http://jira.codehaus.org/browse/JRUBY-5844 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6.2 Environment: danielt@europium:~/tmp/playground$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 11.04 Release: 11.04 Codename: natty danielt@europium:~/tmp/playground$ uname -a Linux europium 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux danielt@europium:~/tmp/playground$ jruby -v jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_22) [linux-amd64-java] Reporter: Danijel Tasov Assignee: Thomas E Enebo danielt@europium:~/tmp/playground$ cat foo.rb #!/bin/sh exec ruby -x $0 #!ruby #!jruby puts "hello there" danielt@europium:~/tmp/playground$ ruby -x foo.rb hello there danielt@europium:~/tmp/playground$ jruby -x foo.rb SyntaxError: foo.rb:3: syntax error, unexpected tGVAR exec ruby -x $0 ^ -- 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