This project is archived and is in readonly mode.

#4320 ✓resolved
J. Pablo Fernandez

[Patch] Can't install plug in on Windows

Reported by J. Pablo Fernandez | April 3rd, 2010 @ 05:52 PM

When trying to install a plug in on Windows I've got this error:

c:\projecx\> ruby script/plugin --verbose install http://github.com/rails/rails_xss.git/
Plugin not found: ["http://github.com/rails/rails_xss.git/"]
#<Errno::EACCES: Permission denied - /dev/null>

This really happens because /dev/null doesn't exist on Windows. I fixed it by creating c:\dev\null :) I think it would be great if you don't generate commands that pipe to /dev/null. Maybe not getting the output to the terminal can be solved on Ruby code, or at any rate, in Windows, I'd rather not have the output redirected to /dev/null than have the install fail.

I forgot which line was this in, but it shouldn't be so hard to find: grep -R "> /dev/null"

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Referenced by

Pages