GithubHelp home page GithubHelp logo

Comments (8)

konklone avatar konklone commented on August 28, 2024

I think this is a regression in site-inspector 1.0.0, which came out Feb 6. I'm looking into the root cause. cc @benbalter

from domain-scan.

konklone avatar konklone commented on August 28, 2024

Ah, and I can see that @benbalter fixed this bug in benbalter/site-inspector@92a93dc and bumped the version to 1.0.1 -- but didn't publish to Rubygems. @benbalter, mind doing a gem publish? 😺

@thecapacity, in the meantime, you can revert to an older version of site-inspector, or pull from @benbalter's repository's master branch.

from domain-scan.

thecapacity avatar thecapacity commented on August 28, 2024

Thanks all! I was just diving into this again today and was checking up here to tell you I was still having it!

from domain-scan.

thecapacity avatar thecapacity commented on August 28, 2024

OK, dumb Q - but where in the https-scan repo can I shim in @benbalter's 'native' site-inspector?

e.g. I have ./https-scan and ../site-inspector-ruby but I'm not sure how Ruby even finds 'site-inspector' in the "require" statement since ./https-scan doesn't seem to include it (e.g. as a subdir)

#sorryImaPythonGuy

from domain-scan.

konklone avatar konklone commented on August 28, 2024

No worries. I updated this project's Gemfile to pull from site-inspector's master branch directly, for now. So git pull this project to the latest, then run bundle update site-inspector to re-sync the version of site-inspector that this script uses.

The https-scan.rb script requires bundler/setup, which is what triggers the script to run inside of the bundler-managed environment (sort of like working inside a virtualenv).

from domain-scan.

thecapacity avatar thecapacity commented on August 28, 2024

I seem to have 'answered' my own question, for anyone that needs.

  1. I changed require 'site-inspector' to 'require ../site-inspector-ruby'
  2. On a re-run you get an error to do another 'bundle install'
  3. Do that, then if you try to run you get an error
  4. Then change the require statement back to just 'site-inspector' (i.e. remove the path)
  5. Re-run and it seems to be going fine.

Ah, @konklone I think maybe I was saved by your fix (which just popped in I think) vs. my own creativity! :)

from domain-scan.

benbalter avatar benbalter commented on August 28, 2024

Released 1.0.1: https://github.com/benbalter/site-inspector-ruby/releases/tag/v1.0.1

@thecapacity for next time, simply add the following to your gemfile:

gem "site-inspector", :github => "benbalter/site-inspector-ruby"

Which instructs Bundler to always use the HEAD of the git repo, rather than the released version.

from domain-scan.

thecapacity avatar thecapacity commented on August 28, 2024

Thanks @benbalter someday I'm going to have to get the crash course on GitHub from you - I can't find my +1 (interestingly something almost popped up for that but I couldn't figure out how I almost did that) 👍 Ahh...

from domain-scan.

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.