Coder Social home page Coder Social logo

Is fog ~> 1.25.0 really necessary? about knife-ec2 HOT 6 CLOSED

chef avatar chef commented on September 17, 2024
Is fog ~> 1.25.0 really necessary?

from knife-ec2.

Comments (6)

andyglick avatar andyglick commented on September 17, 2024

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

from knife-ec2.

ProTip avatar ProTip commented on September 17, 2024

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

from knife-ec2.

shortdudey123 avatar shortdudey123 commented on September 17, 2024

+1 on removing this specific version pinning

from knife-ec2.

Dee-2015 avatar Dee-2015 commented on September 17, 2024

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.

from knife-ec2.

tas50 avatar tas50 commented on September 17, 2024

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

from knife-ec2.

tas50 avatar tas50 commented on September 17, 2024

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.

from knife-ec2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.