Hello sir…!!
Good morning to all of u…!!!
Friends. I have download some projects from rubyforge.com. Now some is
running as usual means all migration files are running and table is
also created. But in one application when i run
rake db:migrate
then its give some errors like
rake is aborted…!!
No such file to load --ruby-debug
then second thing is… I’m running this application in windows
platform. When i’m going to start server in development run mode then
its not started then i changed the run mode and make Production
instead of Development. Then its started. plz give me the right
suggestion
Thanks…!!
.
check if u are using any plugins in your application.
first, install those plugins
and then restart the serevr.
have you set the database.yml correctly?
Saurabh Bhatia wrote:
rake db:migrate
then its give some errors like
rake is aborted…!!
No such file to load --ruby-debug
try installing the “ruby-debug” gem
“gem install ruby-debug”
this is used as an alternative to the built-in “breakpoint” function.
alternatively search through /config/environment.rb, and
/config/environments/development.rb, and any plugins
/vendor/plugins/*/init.rb
look for any lines saying “require ‘ruby-debug’” or “Debugger.start”
these are only useful if you’re using the functions of ruby-debug, if
you don’t care, then delete them.