Ticket #361 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Rake file fails when using cygwin

Reported by: robert.horvi..@gmail.com Assigned to:
Priority: medium Milestone: 0.5.0
Component: Merb Keywords: windows cygwin rake install
Cc:

Description

Rakefile fails on cygwin because the cygwin platform name does not include "win32". Example:

Robe..@HORVICKLAPTOP ~/merbsrc $ rake install (in /home/Robert/merbsrc) rake package (in /home/Robert/merbsrc)

Successfully built RubyGem? Name: merb Version: 0.4.2 File: merb-0.4.2.gem

sudo gem install pkg/merb-0.4.2 --no-rdoc --no-ri rake aborted! Command failed with status (127): [sudo gem install pkg/merb-0.4.2 --no-rdoc ...] /home/Robert/merbsrc/rakefile:84 (See full trace by running task with --trace)

Changing the regex from /win32/ to /win32|cygwin/ resolved the issue.

I'm attaching a patch.

Attachments

cygwin.diff (319 bytes) - added by robert.horvi..@gmail.com on 12/13/07 12:34:34.
Patch that resolved the issue on my system.

Change History

12/13/07 12:34:34 changed by robert.horvi..@gmail.com

  • attachment cygwin.diff added.

Patch that resolved the issue on my system.

12/13/07 23:06:38 changed by e.@brainspl.at

  • status changed from new to closed.
  • resolution set to fixed.

(In [1101]) fix rakefile cfor cygwin, closes #361 [robert.horvi..@gmail.com]