0
我想連接到mysql並使用命令rake db:create 。它告訴我錯誤rake db:在rake db上創建顯示錯誤:create
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 by running task with --trace)
我也嘗試過rake db:migrate,但同樣的錯誤。
require_relative '配置/應用' Myrail :: Application.load_tasks –
不知道如何建設任務 'DB:創建'(見--tasks ) /Library/Ruby/Gems/2.0.0/gems/rake-11.3.0/exe/rake:27:in'' (通過使用--trace運行任務查看完整跟蹤) –