我在 Ubuntu 12.10 上。我在它上面安装了 rvm 和 ruby 1.9.3 以及 gem rails 和 bundle。试图跑
bundle install
或者更好
rvmsudo bundle install
两者都给了我同样的错误:
Fetching git://github.com/resque/resque.git
Unfortunately, a fatal error has occurred. Please see the Bundler
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!
/home/snir/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/fileutils.rb:247:in `mkdir': File exists - /home/snir/.rvm/bin/bundle (Errno::EEXIST)
from /home/snir/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/fileutils.rb:247:in `fu_mkdir'
from /home/snir/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/fileutils.rb:221:in `block (2 levels) in mkdir_p'
from /home/snir/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/fileutils.rb:219:in `reverse_each'
from /home/snir/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/fileutils.rb:219:in `block in mkdir_p'
就这样。。
我无法绕过它。重新安装捆绑包没有帮助,所以我重新安装了 ruby,这也没有帮助,所以我完全删除了 RVM 并重新安装了它,问题仍然存在。怎么了?