2013-02-07 68 views
1

我正在使用ruby 1.9.3和rails 3.0.0版。我有捆绑版本1.2.3。但运行捆绑安装它显示“这个Gemfile需要一个不同版本的Bundler”..我试图卸载这个1.2.3,但它显示“INFO:gem”bundler“没有安装”。请帮我解决这个问题..无法卸载捆绑软件1.2.3

+0

请提供关于如何在您的机器上设置Ruby的信息。 –

+0

意味着??我不明白你的问题。 –

+0

你是如何在你的机器上安装Ruby的?你使用RVM吗?你用过rbenv吗? –

回答

1

请尝试以下操作。

 type $ gem list | grep bundler # it will list all the bundler version 

     then $ rvmsudo gem uninstall bundler # it will list all the version to uninstall. we have to choose all versions. 

     thats it. Then we can install our required version as follows. 


     rvmsudo gem install bundler -v=1.0.21