Issue Type: Improvement Improvement
Assignee: Thomas E Enebo
Created: 31/Jan/13 11:14 AM
Description:

Hello, I noticed when running jruby from a jar, for instance:

$ java -jar vendor\jruby-complete-1.7.0.jar

Gem.ruby works as expected (at least it gives you something executable on the command line):

>> Gem.ruby
=> "java -jar /C:/dev/ruby/dirt-simple-usb-surveillance/vendor/jruby-complete-1.7.0.jar"

however, RbConfig.ruby doesn't seem to afford the same privilege, and I "believe" that it's supposed to?

with MRI:

>> RbConfig.ruby
=> "C:/Ruby193/bin/ruby.exe"

with jruby:

>> RbConfig.ruby
=> "file:/C:/dev/ruby/dirt-simple-usb-surveillance/vendor/jruby-complete-1.7.0.jar!/META-INF/jruby.home/bin/jruby.exe"

I don't think this is expected?
Thanks!

Environment: jruby 1.7.0 (1.9.3p203) 2012-10-22 ff1ebbe on Java HotSpot(TM) Client VM 1.6.0_35-b10 [Windows 7-x86]
Project: JRuby
Priority: Major Major
Reporter: Roger Pack
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