简体   繁体   中英

Missing gems & db:migrate Issues

I'm trying to work through this tutorial by Andrew Perkins. When I get to rake db:migrate I get this error and similar subsequent errors every time I install the missing gems.

Could not find rake-0.9.2.2 in any of the sources
Run bundle install to install missing gems.

I've run the bundle install but not sure I've installed properly or with all the right dependencies. I'm pretty new to Rails so don't have a great idea as to where I'm going wrong so any examples of proper installation would be very helpful.

Try

bundle exec rake db:migrate

this ensures that the rake command run is the one specified in your project's Gemfile. You can read more about bundle exec in the docs .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM