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.

On Apr 8, 6:44 pm, Darshana G. [email protected]
wrote:

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 C. wrote:

On Apr 8, 6:44�pm, Darshana G. [email protected]
wrote:

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

Darshana G. wrote:

Darshana G. wrote:

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?
Anybody know’s how to solve this error?
Its urgent!!!

Darshana
Uninstall the ruby an reinstall the latest version
There might be the problem in the file my be currepetd…

Darshana G. wrote:

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?
Anybody know’s how to solve this error?
Its urgent!!!

Darshana