With guide on gorails I set up homebrew, rbenv and rails. But then when I work with other project from github and when I do bundle install It doesn't work.
Here is the error, I am looking for the answer but still don't find
/Users/user/.rbenv/versions/2.2.2/bin/rails:23:in `load': cannot load such file -- /Users/user/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rails-4.2.4/bin/rails (LoadError)
from /Users/user/.rbenv/versions/2.2.2/bin/rails:23:in `<main>'
Thanks
Seems like a rehash failure, run: rbenv rehash
If that works, see here for why.
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.