Facing problem while running db migrate

I have ruby 1.8.6 with rubygems support and rails for windows.

when i am running command rake db:migrate from command promt, i am getting error:

C:\ruby\bin\ruby.exe: No such file or directory -- C:/ruby/bin/rake (LoadError)

but c:\ruby\bin\ruby.exe exists.

I'm not sure what's happening here.

Any help would be helpful.

Thanks in advance.

I have ruby 1.8.6 with rubygems support and rails for windows.

when i am running command rake db:migrate from command promt, i am getting error:

C:\ruby\bin\ruby.exe: No such file or directory -- C:/ruby/bin/rake (LoadError)

but c:\ruby\bin\ruby.exe exists.

but does c:\ruby\bin\rake exist ?

Fred

Yes, c:\ruby\bin\rake exist ?

There are two rake files: 1. rake file of type Windows Command Script 2. rake file of type Windows Batch File

Is this creating a problem??

Darshana

Frederick Cheung wrote: