Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (11 sloc) 824 Bytes
layout title date tags
post
Running Rake under cygwin
2011-09-01 15:14:00 +0200
cygwin rake

I had some problems with running rake under cygwin. I get the following error while trying to execute rake:
C:\Ruby192\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby192/bin/rake (LoadError)

Could it be that the problem is that the first line in rake:
#!/usr/bin/env ruby 
Will return C:\Ruby192\bin\ruby.exe

By being more explicit about what to run you can avoid the problem:
rake.bat