新手问题 RVM 下面的 bundle install 失败

ntoskrnl · September 29, 2012 · Last by lgn21st replied at September 29, 2012 · 5362 hits
gemsets for ruby-1.9.2-p290 (found in /home/yuf/.rvm/gems/ruby-1.9.2-p290)
   (default)
=> docs
   global

yuf@ubuntu:~/cf-docs$ bundle install
ERROR: Gem bundler is not installed, run `gem install bundler` first.
yuf@ubuntu:~/cf-docs$ gem install bundler
Successfully installed bundler-1.2.1
1 gem installed
Installing ri documentation for bundler-1.2.1...
Installing RDoc documentation for bundler-1.2.1...
yuf@ubuntu:~/cf-docs$ bundle install
ERROR: Gem bundler is not installed, run `gem install bundler` first.
yuf@ubuntu:~/cf-docs$ rvm gemset list
yuf@ubuntu:~/cf-docs$ which bundle
/home/yuf/.rvm/bin/bundle
yuf@ubuntu:~/cf-docs$ bundle
ERROR: Gem bundler is not installed, run `gem install bundler` first.
yuf@ubuntu:~/cf-docs$

rvm 下面做了一个名叫 docs 的 gemset,也安装了 bundler,但是就是死活做不了 bundle install。手工安装了 gem,但是似乎有问题。

哪位大神遇到过类似的问题?

我觉得你的 RVM 安装有问题,照道理当你通过 RVM 安装好 Ruby 后,会自动帮助你安装好 bundle,而无需你自己单独安装。简单的解决方法时让 RVM 自爆,然后重装 RVM 和 Ruby 吧。

rvm implode
You need to Sign in before reply, if you don't have an account, please Sign up first.