Defect #5039

Reposman.rb on Windows

Added by Bryce Nordgren over 7 years ago. Updated over 7 years ago.

Status:ClosedStart date:2010-03-10
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM
Target version:0.9.4
Resolution:Fixed Affected version:0.9.3

Description

running Reposman on Windows fails with a "no such method uid on nilClass" error (perhaps I am paraphrasing, sorry). It appears to be treating the Windows system as if it were a *nix system. This, in turn appears to be because it is comparing RUBY_PLATFORM to mswin, and my RUBY_PLATFORM is

irb(main):026:0> RUBY_PLATFORM
=> "i386-mingw32" 

I am running the rubyinstaller for windows.

This ticket is related to #1804.

As a workaround, I intend to replace mswin with the above string in the reposman.rb file, but a long-term solution should probably leverage the solution in #1804.

Associated revisions

Revision 3571
Added by Jean-Philippe Lang over 7 years ago

Fixed windows platform detection in reposman.rb (#5039).

History

#1 Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from New to Resolved
  • Target version set to 0.9.4
  • Resolution set to Fixed

Fixed in r3571.

#2 Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF