3rdrail run rake task error: no Ruby script found in input (LoadError) (Windows)

Hi, dudes
   I got a question here. When I run "rake db:migrate" in 3rdrail, it
throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input
(LoadError). I have set the ruby interpreter paths, And can't find the
solution on Google. Any good ideas?

Issac

Issac wrote:

Hi, dudes
   I got a question here. When I run "rake db:migrate" in 3rdrail, it
throws an error: D:\ruby\bin\ruby.exe: no Ruby script found in input
(LoadError). I have set the ruby interpreter paths, And can't find the
solution on Google. Any good ideas?

Issac

Got the same problem, rails build is v20071130_1710 and I'm using
Instant Rails 2.0. This error occured after updating both to the
currently newest version.

A workaround is calling "rake db:migrate" from the ruby console window
from instant rails, i.e. not 3rdRails, so that the environment is set.

As far as I can tell, this is caused by the …/bin/rake file not having a ��#! line.

So you should be able to add one, and continue as normal.

I get this using 3rdRail too, with this in ../bin/rake:

#!c:/Program Files/Ruby/bin/ruby.exe