Giter Club home page Giter Club logo

Comments (8)

cesarferreira avatar cesarferreira commented on July 18, 2024

image

which OS are you on?

from dryrun.

aido93 avatar aido93 commented on July 18, 2024

Ubuntu 18.04

But I found out that github.com was not available then. My hotfix was to hardcode version of dryrun:

#file: /var/lib/gems/2.5.0/gems/dryrun-1.2.1/lib/dryrun/dryrun_utils.rb
      url = 'https://raw.githubusercontent.com/cesarferreira/dryrun/master/lib/dryrun/version.rb'
      #url ='/var/lib/gems/2.5.0/gems/dryrun-1.2.1/lib/dryrun.rb'

Maybe it is not good idea to check new version availability on startup. Could you change default behaviour and add cli-key for update dryrun on startup?

from dryrun.

cesarferreira avatar cesarferreira commented on July 18, 2024

what do you mean by cli key?

from dryrun.

aido93 avatar aido93 commented on July 18, 2024

Command line interface (cli) key:
dryrun -key

from dryrun.

stale avatar stale commented on July 18, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

from dryrun.

yanglilizhang avatar yanglilizhang commented on July 18, 2024

I also encountered the same problem, how to solve it? I'm on win10 and I always fail ,I want to use this @cesarferreira thanks

run:dryrun [email protected]:google/cameraview.git
result:
Traceback (most recent call last):
23: from E:/my_software/dryrun/Ruby26-x64/bin/dryrun:23:in <main>' 22: from E:/my_software/dryrun/Ruby26-x64/bin/dryrun:23:in load'
21: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dryrun-1.2.1/bin/dryrun:6:in <top (required)>' 20: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dryrun-1.2.1/bin/dryrun:6:in new'
19: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dryrun-1.2.1/lib/dryrun.rb:18:in initialize' 18: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dryrun-1.2.1/lib/dryrun.rb:89:in outdated_verification'
17: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dryrun-1.2.1/lib/dryrun/dryrun_utils.rb:39:in up_to_date' 16: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/gems/2.6.0/gems/dryrun-1.2.1/lib/dryrun/dryrun_utils.rb:26:in latest_version'
15: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:35:in open' 14: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:736:in open'
13: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:165:in open_uri' 12: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:224:in open_loop'
11: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:224:in catch' 10: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:226:in block in open_loop'
9: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:756:in buffer_open' 8: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/open-uri.rb:337:in open_http'
7: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:919:in start' 6: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:930:in do_start'
5: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:945:in connect' 4: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/timeout.rb:103:in timeout'
3: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/timeout.rb:93:in block in timeout' 2: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:947:in block in connect'
1: from E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:947:in open' E:/my_software/dryrun/Ruby26-x64/lib/ruby/2.6.0/net/http.rb:947:in initialize': getaddrinfo: 请求的名称有效,但是找不到请求的类型的数据。 (SocketError)

from dryrun.

cesarferreira avatar cesarferreira commented on July 18, 2024

@yanglilizhang if it works on windows is a coincidence because i built this tool for macOS, in your case, the error says "socketError" so I'm assuming you're behind a firewall

from dryrun.

yanglilizhang avatar yanglilizhang commented on July 18, 2024

@yanglilizhang if it works on windows is a coincidence because i built this tool for macOS, in your case, the error says "socketError" so I'm assuming you're behind a firewall

thanks

from dryrun.

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.