Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: JRuby 1.6.5
-
Fix Version/s: JRuby 1.6.7
-
Component/s: None
-
Labels:None
-
Environment:jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.7.0_01) [Windows 7-amd64-java]
-
Number of attachments :
Description
the result of jruby --1.9 -e 'puts Gem.user_home' is garbled, see below
C:\>chcp Active code page: 1252 C:\>echo %USERPROFILE% C:\Users\xxx C:\>ruby --version && ruby -e 'puts Gem.user_home' ruby 1.9.2p290 (2011-07-09) [i386-mingw32] C:/Users/xxx C:\>jruby --version && jruby --1.9 -e 'puts Gem.user_home' jruby 1.6.5 (ruby-1.8.7-p330) (2011-10-25 9dcd388) (Java HotSpot(TM) 64-Bit Server VM 1.7.0_01) [Win dows 7-amd64-java] C:/C:₩Users₩xxx C:\>
It turns out to be a bug in Rubygems, see https://github.com/rubygems/rubygems/pull/229