简体   繁体   中英

Ruby on Rails 3 simple-navigation could not find in any of the sources

I've be using simple-navigation and it's working fine. I've just tried to do a database migration using:

rake db:migrate

and get the error:

test me$ rake db:migrate (in /Users/me/test) Could not find simple-navigation-3.2.0 in any of the sources Try running bundle install .

I've run bundle install and I have a working navigation in the application. Running the db migration is the only problem I'm having.

Any ideas?

Turns out it was a problem with my environment. I installed rvm and installed the latest version of Ruby and everything works fine now.

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