Ruby on rails 3 Can';t拆卸RVM中的打捆机
我在RVM中安装了1.9.2 Ruby。当我制作宝石列表时,我得到以下信息:Ruby on rails 3 Can';t拆卸RVM中的打捆机,ruby-on-rails-3,bundler,ruby-1.9.2,Ruby On Rails 3,Bundler,Ruby 1.9.2,我在RVM中安装了1.9.2 Ruby。当我制作宝石列表时,我得到以下信息: bundler (1.1.3) 当我尝试移除它时,我得到: gem uninstall bundler INFO: gem "bundler" is not installed 当我尝试为我的应用程序运行捆绑安装时,我得到: Bundler could not find compatible versions for gem "bundler": In Gemfile: rails (= 3.0.1
bundler (1.1.3)
当我尝试移除它时,我得到:
gem uninstall bundler
INFO: gem "bundler" is not installed
当我尝试为我的应用程序运行捆绑安装时,我得到:
Bundler could not find compatible versions for gem "bundler":
In Gemfile:
rails (= 3.0.1) ruby depends on
bundler (~> 1.0.0) ruby
Current Bundler version:
bundler (1.1.3)
This Gemfile requires a different version of Bundler.
Perhaps you need to update Bundler by running `gem install bundler`?
我已尝试卸载1.9.2,但没有任何帮助。在另一个堆栈线程中找到了答案,但在不注意链接的情况下关闭了它。问题是rvm不允许您从仍然是默认“全局”gemset一部分的自定义gemset卸载gems。执行
rvm gemset使用全局然后从全局卸载1.1.3。运行“sudo gem uninstall”帮了我的忙。似乎“gem卸载”有时会在不像sudo那样运行时“撒谎” 太棒了我应该为我的gemset将其保留在global上吗?