Giter VIP home page Giter VIP logo

Comments (5)

SaltwaterC avatar SaltwaterC commented on August 19, 2024

Hi. Sorry about that. Should probably take out the gemspec file out of the repo. It is generated by a rake task using jeweler. And, of course, fix the task to generate a proper gemspec.

from serverspec-aws.

SaltwaterC avatar SaltwaterC commented on August 19, 2024

Found the issue. jeweler is not checking for duplicates when sourcing the dependencies. It can do this from both the rake task itself and from the supplied Gemfile. The issue is: when a dependency is specified in both places, it'll end up twice in the generated gemspec.

I also removed the gemspec from the repo. To generate a fresh one:

bundle install --with development
rake gemspec

However, the issue was not discovered for so long as I was using the rest of the rake tasks supplied by jeweler which don't use the generated gemspec to build/install the gem. From rake -T:

rake build                 # Build gem into pkg/
rake install               # Build and install gem using `gem install`

Also: for the moment I am not pushing this gem to RubyGems as the integration testing against AWS resources got delayed for quite a while and I don't feel like the work for this gem is complete.

from serverspec-aws.

temyers avatar temyers commented on August 19, 2024

Don't know if this is a separate issue, but according to:

rubygems/bundler#1880

In order to include a gem from source, it needs to include a gemspec - even if it's generated.

Or should I be using a different process I'm unaware of?

from serverspec-aws.

SaltwaterC avatar SaltwaterC commented on August 19, 2024

I can publish the gem to RubyGems to make things easier for everybody. I'll do this after dealing with your PR #3.

from serverspec-aws.

temyers avatar temyers commented on August 19, 2024

Ok that would be great thanks

from serverspec-aws.

Related Issues (2)

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.