Giter Site home page Giter Site logo

Comments (4)

thesp0nge avatar thesp0nge commented on July 23, 2024

@lohithmv019 this is very specific issue you're experiencing due to your current gemset configuration I can't solve.

You can try to use a fresh gemset to install dawn.

from dawnscanner.

lohithmv019 avatar lohithmv019 commented on July 23, 2024

@thesp0nge I am using fresh install of ruby(ruby 2.1) just to install this gem.All the gems I mentioned above are used by your gem only(I am not using them for any purpose.).Let me know if I am missing anything here.

from dawnscanner.

tecknicaltom avatar tecknicaltom commented on July 23, 2024

I am experiencing this same issue while trying to evaluate dawn. I am using Kali Linux, with very few gems installed. Additionally, the claim is backed by the Gemnasium dependencies linked to in the readme.
The problematic dependency tree:

codesake-dawn (https://gemnasium.com/codesake/codesake-dawn)

  • codesake-commons ~> 0.95.0
    • mechanize >= 0 (newest is 2.7.3)
      • mime-types ~> 2.0
  • grit >= 0 (newest is 2.5.0)
    • mime-types ~> 1.15

The problem appears to be that codesake-dawn depends on the grit library, which is unmaintained and has old dependencies. https://github.com/mojombo/grit says "Grit is no longer maintained. Check out libgit2/rugged"

from dawnscanner.

Chillibear avatar Chillibear commented on July 23, 2024

It's the codesake-commons gem that I think is bringing in the problem. It requires any version of mechanize and as tecknicaltom says the current version is 2.7.3 where the dependency on mime-types switched to version 2. You could try hacking the gem spec of your copy of code sake-commons to specify an older version of mechanize, i.e. gem.add_dependency 'mechanize', '<= 2.7.2' in codesake-commons.gemspec. I just encountered the same problem myself and this temporarily fixed it by getting the slightly older version of mechanize installed.

The long term solution is probably to switch to Rugged rather than Grit

from dawnscanner.

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.