gemをインストールした後、rake db:createでデータベースを作成しようとすると以下のエラーが出ます。
ruby on rails コード okamotomasahironoMacBook-Air:pegbit m_okamoto$ rake db:create rake aborted! Gem::LoadError: You have already activated rake 12.3.0, but your Gemfile requires rake 12.3.1. Prepending `bundle exec` to your command may solve this. /Users/m_okamoto/yunihouse/pegbit/config/boot.rb:3:in `<top (required)>' /Users/m_okamoto/yunihouse/pegbit/config/application.rb:1:in `<top (required)>' /Users/m_okamoto/yunihouse/pegbit/Rakefile:4:in `<top (required)>' Caused by: LoadError: cannot load such file -- bundler/setup /Users/m_okamoto/yunihouse/pegbit/config/boot.rb:3:in `<top (required)>' /Users/m_okamoto/yunihouse/pegbit/config/application.rb:1:in `<top (required)>' /Users/m_okamoto/yunihouse/pegbit/Rakefile:4:in `<top (required)>' (See full trace by running task with --trace)
「bundle install」後に「bundle exec rake db:create」を実行した場合にエラーに変化は見られますか?
回答1件
あなたの回答
tips
プレビュー