-
Notifications
You must be signed in to change notification settings - Fork 102
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
fog conflict errors #130
Comments
It looks like you've passed a string to cookbook_path in your knife.rb. It expects an array. I'm not sure why it would complain about the old fog with the new one available. I can't promise an immediate solution; in the interim, gemsets might be a way to work around the underlying problem. |
|
Yep. That did it. Thanks guys. Normal knife commands seemed to work before, so maybe they are more tolerant to String/Map entries in knife.rb rather than ironfan. Still a very beginner at Ruby. :-( |
Again, I'm new to ruby so this is a very cheap hack, but I've found that the following patch to knife-ec2-0.5.10.gemspec fixed the version issue in ironfan (quite why, I don't know):
|
The |
@agentgonzo - you're right, that does differ from Chef semantics. Fixed it to accept both. |
(use ">= 0.8.2" not "> 0.8.2") On Wed, Apr 18, 2012 at 11:13 AM, Nathaniel Eliot <
infochimps.com - discover data |
* 'master' of github.com:infochimps-labs/ironfan: Removing completed TODO items related to Cluster Chef -> Ironfan rename Removing completed TODO item From conversation with Flip: the remainder of infochimps-labs#81 should be a TODO item, not an issue Make ironfan work with string (in addition to array) for cluster_path, to conform to chef semantics (fixes infochimps-labs#130)
I’m trying (and failing!) to set up ironfan
I’m getting to the situadion where I’ve installed it, but when I do a ‘knife cluster list’ I get the following error:
ERROR: Gem::LoadError: Unable to activate ironfan-3.1.5, because fog-0.8.2 conflicts with fog (~> 1.2.0)
I have fog 1.2.0 and 0.8.2 installed. I tried the obvious thing of uninstalling 0.8.2 but then get the following error that it can’t find fog 0.8.2:
/usr/local/lib/ruby/gems/1.9.1/gems/ironfan-3.1.5/lib/ironfan.rb:34:in
cluster_path': undefined method
map' for "/home/steve/poc/chef/chef-repo/cookbooks":String (NoMethodError)Ditto if I install only 0.8.2 I get the original message:
ERROR: Gem::LoadError: Unable to activate ironfan-3.1.5, because fog-0.8.2 conflicts with fog (~> 1.2.0)
I’m running ruby 1.9.3p125 and gem 1.8.11 on Centos. Any help would be appreciated. fog 0.8.2 is required by knife-ec2 and I need to run both.
The text was updated successfully, but these errors were encountered: