The current project that I’m currently worked on has a requirement for
Ruby on Rails and the migration facility provided by it to keep
databases in sync. And, I’m completely new to this technology.
Here’s my scene :
- Ruby 1.8.7 patch level 302
- Rails 2.3.8
- MYSql (dnt know version)
- OS : Windows 7
I installed the 1st via the online ruby installer; and, the next two
using ‘gem install –v=2.3.8 rails’ and ‘gem install mysql’ respectively.
Also, did ‘gem install rubygems-update -v=‘1.4.2’’
On command, rake db:migrate, Ruby is supposed to help run all the *.rb
files and update my database tables. But I come across this,
“No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
My rakeFile is present in the project. So, what am I supposed to do in
such a case?
Here’s the full trace
rake db:migrate --trace
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
r aw_load_rakefile' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:82:inlo
s tandard_exception_handling' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:81:inlo
ru n' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/application.rb:133:ins
ru n' C:/Ruby187/lib/ruby/gems/1.8/gems/rake-0.9.2.2/bin/rake:33 C:/Ruby187/bin/rake:19:inload’
Thanks a Bunch, All
You are running from the application where the rake file is not there.
the rails application folder ty to run this command. Then It will
the rake command.
On Mon, Mar 19, 2012 at 6:24 PM, Gaurav K. [email protected] wrote:
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
For more options, visit this group at
Thanks & Regards,
Console Error was ellaborated but never struck me to change the path and
run the command.