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

Is fog ~> 1.25.0 really necessary? #281

Closed
L2G opened this issue Feb 25, 2015 · 6 comments
Closed

Is fog ~> 1.25.0 really necessary? #281

L2G opened this issue Feb 25, 2015 · 6 comments

Comments

@L2G
Copy link

L2G commented Feb 25, 2015

The Fog version dependency of ~> 1.25.0 guarantees that any other Ruby gem with a dependency on Fog 1.26 or newer will be incompatible with this one (at least if both are being managed by Bundler). I don't think this is what you want.

L2G referenced this issue in TritonDataCenter/knife-joyent Feb 25, 2015
@andyglick
Copy link

yes, couldn't you change the dependency specification from (~> 1.25.0) to (>= 1.25.0) that way I could reference 1.27.0 in my project and the knife-ec2 gem could still work for me

@ProTip
Copy link

ProTip commented May 25, 2015

This breaks it with the current chefdk which has fog 1.3.0 .

@shortdudey123
Copy link

+1 on removing this specific version pinning

@Dee-2015
Copy link

Hi,

I know this already noticed by the maintainers, but this still happens on Windows:

chef gem install knife-ec2
ERROR: Error installing knife-ec2:
invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodE
ror) in C:/opscode/chefdk/embedded/lib/ruby/gems/2.1.0/cache/fog-1.23.0.gem

I had to uninstall the 1.3x.0 version and manually install the 1.23 version.

edit: updating chefdk 0.7.0 resolved the issue.

@tas50
Copy link
Contributor

tas50 commented Aug 24, 2015

The latest knife-ec2 (0.11) fixes the chefdk incompatibility

@tas50
Copy link
Contributor

tas50 commented Nov 10, 2015

Closing this out since the latest release quiets the errors and master now using fog-aws, which avoids hard pins on the fog gem itself.

@tas50 tas50 closed this as completed Nov 10, 2015
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

6 participants