Project

General

Profile

Actions

Bug #7885

closed

Build failure: test_initialize_user_install issues under Windows

Added by luislavena (Luis Lavena) almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.0.0dev (2013-02-19 trunk 39320) [x64-mingw32]
Backport:
[ruby-core:52533]

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

  1. 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


Related issues 1 (0 open1 closed)

Related to Backport200 - Backport #7888: Backport r39324 to ruby 2.0.0 to fix windows test failureCloseddrbrain (Eric Hodel)02/20/2013Actions
Actions #1

Updated by drbrain (Eric Hodel) almost 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

Also available in: Atom PDF

Like0
Like0