Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

CommandLine.unix? returns true on Windows with Cygwin installed #364

Closed
darthdeus opened this Issue · 1 comment

2 participants

@darthdeus

I just ran into a issue, when paperclip identified my Windows Vista x64 as Linux in the CommandLine#interpolate method.

Since unix? method is defined as:

def self.unix?
  File.exist?("/dev/null")
end

it returns true on my system because I have Cygwin installed and in PATH. I posted the whole issue on stackoverflow

@alexgodin

We have since moved to cocaine which solves this problem.

Thanks,

Alex

@alexgodin alexgodin closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.