Actions
Bug #7885
closedBuild failure: test_initialize_user_install issues under Windows
    Bug #7885:
    Build failure: test_initialize_user_install issues under Windows
  
Description
=begin
Latest changes to RubyGems into ruby_2_0_0 branch are causing failures in RubyInstaller CI:
http://ci.rubyinstaller.org/job/ruby-2_0_0-x64-test-all/10/console
http://ci.rubyinstaller.org/job/ruby-2_0_0-x86-test-all/10/console
- Failure:
 test_initialize_user_install(TestGemInstaller) [C:/Users/Worker/Jenkins/workspace/ruby-2_0_0-x64-build/test/rubygems/test_gem_installer.rb:672]:
 --- expected
 +++ actual
 @@ -1 +1 @@
 -"C:/Users/Worker/AppData/Local/Temp/test_rubygems_2320/userhome/.gem/ruby/2.0.0/bin"
 +"C:\Users\Worker\AppData\Local\Temp\test_rubygems_2320\userhome\.gem\ruby\2.0.0\bin"
Seems that the path obtained is not converted to posix like (via File.expand_path) or the expected value turned into the native-compatible one.
=end
        
           Updated by drbrain (Eric Hodel) over 12 years ago
          Updated by drbrain (Eric Hodel) over 12 years ago
          
          
        
        
      
      - Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r39324.
Luis, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- lib/rubygems/installer.rb:  Use gsub instead of gsub! to avoid
 altering @bin_dir. Fixes tests on windows. [ruby-trunk - Bug #7885]
Actions