Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: JRuby 1.6.8
-
Component/s: None
-
Labels:None
-
Environment:jruby 1.6.7 (ruby-1.9.2-p312) (2012-02-22 3e82bc8) (Java HotSpot(TM) 64-Bit Server VM 1.7.0_02) [Windows 7-amd64-java]
jruby 1.6.7 (ruby-1.8.7-p357) (snip)
-
Number of attachments :
Description
Hi.
I encountered the following problem when use gem 'Launchy' version 2.0.5 on JRuby 1.6.7 (1.9 mode).
----------
launchy http://www.jruby.org/
Failure in opening http://www.jruby.org/ with options {}: can't convert Launchy::Detect::HostOs into String
----------
I investigate the cause of this problem, as a result, guessed that the problem is a bug of JRuby 1.9 mode.
I have attached script for reproduce this problem.
when this script run on jruby 1.9 mode, script was failed.
Script result of JRuby 1.9 mode
https://gist.github.com/1908767
but, when run on JRuby 1.8 and C Ruby 1.9.2, script was finished successfully.
Script result of JRuby 1.8 mode
https://gist.github.com/1908775
Script result of C Ruby 1.9.2
https://gist.github.com/1908781
Thanks.