Project

General

Profile

Bug #5111

test/rubygems/test_gem_installer.rb reports a failure on windows

Added by usa (Usaku NAKAMURA) almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
ruby 1.9.4dev (2011-07-28 trunk 32722) [x64-mswin64_100]
[ruby-core:38574]

Description

=begin
I guess the test is wrong on Windows.

1) Failure:
test_generate_bin_bindir_with_user_install_warning(TestGemInstaller) [C:/Users/usa/ruby/test/rubygems/test_gem_installer.rb:225]:
--- expected
+++ actual
@@ -1 +1,3 @@
-""
+"WARNING: You don't have /usr/bin in your PATH,
+\t gem executables will not run.
+"
=end

Associated revisions

Revision 32804
Added by luislavena (Luis Lavena) over 5 years ago

Correct RubyGems bin check on Windows. Bug #5111

Revision 32804
Added by luislavena (Luis Lavena) over 5 years ago

Correct RubyGems bin check on Windows. Bug #5111

Revision 32804
Added by luislavena (Luis Lavena) over 5 years ago

Correct RubyGems bin check on Windows. Bug #5111

Revision 32804
Added by luislavena (Luis Lavena) over 5 years ago

Correct RubyGems bin check on Windows. Bug #5111

History

#1 [ruby-core:38586] Updated by luislavena (Luis Lavena) almost 6 years ago

  • Assignee changed from drbrain (Eric Hodel) to luislavena (Luis Lavena)

#2 [ruby-core:38659] Updated by usa (Usaku NAKAMURA) over 5 years ago

  • Target version changed from 2.0.0 to 1.9.3

This problem is also imported to ruby_1_9_3 branch.

#3 Updated by luislavena (Luis Lavena) over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Closed

This issue was solved with changeset r32804.
Usaku, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


Correct RubyGems bin check on Windows. Bug #5111

#4 [ruby-core:38664] Updated by luislavena (Luis Lavena) over 5 years ago

  • Status changed from Closed to Assigned
  • Assignee changed from luislavena (Luis Lavena) to usa (Usaku NAKAMURA)

Mr. NAKAMURA,

I've committed a fix for this, can you check out trunk?

If it works, will backport to ruby_1_9_3

Thank you.

#5 [ruby-core:38704] Updated by usa (Usaku NAKAMURA) over 5 years ago

  • Assignee changed from usa (Usaku NAKAMURA) to luislavena (Luis Lavena)

It seems OK. Please backport it.
Thank you, Luis!

#6 [ruby-core:38801] Updated by luislavena (Luis Lavena) over 5 years ago

  • Status changed from Assigned to Closed

Usaku NAKAMURA wrote:

It seems OK. Please backport it.

Backported to ruby_1_9_3 branch in r32850

Closing this.

Thank you!

Also available in: Atom PDF