In fact, all gem-related commands result in the same error message, when run from inside the existing rails app I cloned from a git repo.
$ bundle install
Could
OK guess I fixed it..
For the gems that running bundle install
complained about when run from inside the app directory, I installed them by going outside the app directory and doing sudo gem install [gem]
one by one. Doing bundle install --gemfile=myApp/Gemfile
also installed a couple of the missing gems.
I have no idea why I wasn't able to just run bundle install
from inside the app directory...lame.
I had this problem. Once I did:
[root@smaug ~]# PATH=$PATH:~/.gem/ruby/2.0.0/bin
[root@smaug ~]# export PATH
Then it was fixed and I could just
[root@smaug msf3]# bundle install
successfully.