Ticket #290 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Rakefile usage of sudo causes merb install to fail on Windows. (similar for usage of chmod)

Reported by: robert.horvi..@gmail.com Assigned to:
Priority: major Milestone: 0.4.2
Component: Merb Keywords:
Cc:

Description

Following the instructions here:

http://merb.rubyforge.org/files/README.html

I executed:

svn co http://svn.devjavu.com/merb/trunk merb cd merb rake install

The command output was:

C:\InstantRails?\merb>rake install (in C:/InstantRails/merb) rake package (in C:/InstantRails/merb)

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

sudo gem install pkg/merb-0.4.1 --no-rdoc --no-ri rake aborted! Command failed with status (0): [sudo gem install pkg/merb-0.4.1 --no-rdoc ...] C:/InstantRails/merb/rakefile:76 (See full trace by running task with --trace)

Removing the "sudo" and commenting out the chmod command (which would work in Cygwin but I'm using the Vista command shell) allowed the install to succeed.

Attachments

Rakefile (4.6 kB) - added by robert.horvi..@gmail.com on 11/10/07 21:04:15.
A 2-minute thought for a fix.

Change History

11/10/07 21:04:15 changed by robert.horvi..@gmail.com

  • attachment Rakefile added.

A 2-minute thought for a fix.

11/13/07 10:04:09 changed by iv..@gweezlebur.com

  • milestone changed from The Future to 0.4.2.

11/14/07 21:28:21 changed by iv..@gweezlebur.com

(In [1001]) Make Rakefile a little more Windows friendly. Refs #290

11/14/07 21:30:14 changed by iv..@gweezlebur.com

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

Please try the latest SVN and see if the Rakefile works better.

I'm closing this, but please keep sending Windows bug reports. None of us use it regularly, but that doesn't mean we don't want it to work.