I am running into troubles installing gems through bundle install from an app that i cloned through git.
Here is the what the output from bundle install looks like:
bundle install
/usr/lib/ruby/vendor_ruby/bundler/rubygems_ext.rb:8:in `require': no such file to load -- rubygems (LoadError)
from /usr/lib/ruby/vendor_ruby/bundler/rubygems_ext.rb:8
from /usr/lib/ruby/vendor_ruby/bundler.rb:11:in `require'
from /usr/lib/ruby/vendor_ruby/bundler.rb:11
from /usr/bin/bundle:4:in `require'
from /usr/bin/bundle:4
I read up on google and other stackoverflow questions but the file pointed to above is in th ruby folder so it should not be anyway related to the app (which in theory would mean i wouldn't be able to bundle install for any app). any way how to fix this??
any help will be deeply appreciated!
I have the same question with yours, I searched a lot, but no one is the solution, at last, I asked co-worker in my company, he just ran
gem list
to list the local gems, we found there's no bundler gem, so he ran
gem install bundler
then he ran
bundle install
OK, it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With