ruby on rails - rake db:create showing error on rake db:create -


i trying connect mysql , using command rake db:create . showing me error

rake aborted! no rakefile found (looking for: rakefile, rakefile, rakefile.rb, rakefile.rb) /library/ruby/gems/2.0.0/gems/rake-11.3.0/exe/rake:27:in `<top (required)>' (see full trace running task --trace) 

i tried rake db:migrate same error.

it looks missing rake file. add code in file called rakefile @ root of app. edit: replace yourapp name of app

require file.expand_path('../config/application', __file__)  yourapp::application.load_tasks 

Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -