Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chef-dkをインストールして、knife-zeroを入れるとchefのconflictが起こります #83

Closed
tc-matsu opened this issue Jan 24, 2016 · 3 comments

Comments

@tc-matsu
Copy link

動作環境
Ruby 2.0.0
Chef Development Kit Version: 0.10.0
chef-client version: 12.5.1
berks version: 4.0.1
kitchen version: 1.4.2

この状態で
chef gem install knife-zero

をするとchef-dkからインストールされたchef-12.5.1とknife-zeroからインストールされたchef-12.6.0でConflictErrorが起きるのですが、chef-dkを使用しない方法のほうがいいのでしょうか?

初歩的な質問で申し訳ないですが、よろしくお願い致します。

@tc-matsu tc-matsu changed the title chef-dkwo chef-dkをインストールして、knife-zeroを入れるとchefのconflictが起こります Jan 24, 2016
@sawanoboly
Copy link
Member

chefのバージョンが12.6未満の場合、knife-zeroは1.10.2までの対応になっています。
chef gemコマンドでバージョンを指定してください。

最新版から比べて使えない機能は、Chngelogで判断できます。

https://github.com/higanworks/knife-zero/blob/master/CHANGELOG.md

@sawanoboly
Copy link
Member

多分コマンドはこうなります。 chef gem install knife-zero -v "1.10.2"

knife-zeroの最新版を使いたい場合は、こちらのコメントを参考に、Bundlerを使用してください。
#45 (comment)

@tc-matsu
Copy link
Author

changelogに書いてあるのに気がつかなかったです...すいません。knife-zeroインストールできました!ありがとうございます!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants