Blog about development of embedded software for devices, the process of making it and the tools involved.
Showing posts with label rake. Show all posts
Showing posts with label rake. Show all posts
2010-05-16
Problem calling rake from Cygwin
I can't call my mingw installed (from rubyinstaller) rake and gem from cygwin. See the output below:
sh-3.2$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
sh-3.2$ gem --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/gem (LoadError)
sh-3.2$ rake --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/rake (LoadError)
The only help I have been able to find is this comment . Which states that I should use rake.bat and gem.bat instead.
sh-3.2$ rake.bat --version
rake, version 0.8.7
sh-3.2$ gem.bat --version
1.3.5
:-( This makes it a bit complicated to call rake from a makefile.
sh-3.2$ ruby -v
ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]
sh-3.2$ gem --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/gem (LoadError)
sh-3.2$ rake --version
C:\Ruby\bin\ruby.exe: No such file or directory -- /cygdrive/c/Ruby/bin/rake (LoadError)
The only help I have been able to find is this comment . Which states that I should use rake.bat and gem.bat instead.
sh-3.2$ rake.bat --version
rake, version 0.8.7
sh-3.2$ gem.bat --version
1.3.5
:-( This makes it a bit complicated to call rake from a makefile.
Subscribe to:
Posts (Atom)