Having some serious bundler issues.
This series of events has been occurring after I installed a gem from the command line.
I'm using RVM (1.8.7) with a project-specific gemset. I also have a global gemset.
$ bundle install
ERROR: Gem bundler is not installed, run `gem install bundler` first.
$ gem install bundler
Successfully installed bundler-1.3.5
1 gem installed
Installing ri documentation for bundler-1.3.5...
Installing RDoc documentation for bundler-1.3.5...
$ bundle install
ERROR: Gem bundler is not installed, run `gem install bundler` first.
$
Any help would be much appreciated so I can get my dev environment back up and running!
This looks like you did not used rvm installed ruby.
Start with updating RVM:
rvm get stable
List which rubies are installed:
rvm list
Use one of the listed rubies
rvm use ruby-1.9.3-p448
Make the ruby default so it is loaded with your shell
rvm use ruby-1.9.3-p448 --default
At any point make sure to carefully read the outputs, they will give you information about your system and if it is something is wrong how to fix it.
尝试使用sudo gem install bundler
在计算机的根目录(而不是在rvm中)安装bundler
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.