Defect #5039

Reposman.rb on Windows

Added by Bryce Nordgren almost 9 years ago. Updated over 8 years ago.

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


Target version:0.9.4
Resolution:Fixed Affected version:0.9.3


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 almost 9 years ago

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


#1 Updated by Jean-Philippe Lang almost 9 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 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF