tags:

views:

126

answers:

1

Hi ! I'm running Mac OSX 10.6.2 and I've got a strange problem with rake and my ruby applications.

Has soon as I launch a rake command my mac crashes and ask me to reboot (dark screen). This occure when I try to run a Rakefile or even simply if I type:

rake --version

I tried reinstalling rake by running the install.rb file of the latest version of rake package but the problem still remains. OSX Crash also occur when I try to install rubygame through the gem command.

I'm using gem 1.3.1 and here is my version of ruby :

ruby 1.8.7 (2008-08-11 patchlevel 72) [universal-darwin10.0]

Does any one allready had this problem and solved it ? Thank you in advance !

A: 

The file was corrupted and the install.rb script of the rake package did not replaced it on reinstall. After replacing the rake file manually it worked:

Vinz-2:bin vcogne$ whereis rake
/usr/bin/rake
Vinz-2:bin vcogne$ sudo cp ~/Desktop/rake-0.8.7/bin/rake /usr/bin/

I did the same for the location the "which rake" command gave me.

XPac27