2016-09-30 62 views
0

我使用的是bosh_cli版本1.3071.0,最近我安裝了最新版本的bosh_cli 1.3262.4.0。bosh_cli gem與其他版本衝突

現在,當波什啓動命令它給

[email protected]:~/.gem/specs$ bosh --version 
Failed to load plugin /usr/local/rvm/gems/ruby-1.9.3-p551/gems/bosh_cli_plugin_micro-1.3071.0/lib/bosh/cli/commands/micro.rb: Unable to activate bosh_cli_plugin_micro-1.3071.0, because bosh_common-1.3262.4.0 conflicts with bosh_common (~> 1.3071.0), blobstore_client-1.3262.4.0 conflicts with blobstore_client (~> 1.3071.0), bosh_cli-1.3262.4.0 conflicts with bosh_cli (~> 1.3071.0) 

什麼是一個應用程序的現有寶石升級到最新版本的方式,這樣纔不會發生衝突。

+0

你可以試試'gem卸載bosh_cli --all'然後'gem install bosh_cli'?我還建議升級你的Ruby版本,因爲1.9.3已經有近兩年的EOL了。 – ljfranklin

回答

1

我曾遇到同樣的問題,並通過卸載不具有依賴性的版本解決。

以下命令將列出所有版本:

gem uninstall bosh_cli 

選擇的版本,它不具有相關性。