Defect #5039
Reposman.rb on Windows
| Status: | Closed | Start date: | 2010-03-10 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | SCM | |||
| Target version: | 0.9.4 | |||
| Affected version: | 0.9.3 | Resolution: | Fixed |
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
Fixed windows platform detection in reposman.rb (#5039).
History
#1 Updated by Jean-Philippe Lang about 3 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 about 3 years ago
- Status changed from Resolved to Closed