Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't establish creds #332

Open
tbbooher opened this issue May 31, 2021 · 2 comments
Open

Can't establish creds #332

tbbooher opened this issue May 31, 2021 · 2 comments

Comments

@tbbooher
Copy link

tbbooher commented May 31, 2021

From a fresh install of gist v5.0.0 on Ubuntu 20.04.2 LTS

gist-paste --login
Obtaining OAuth2 access_token from github.
GitHub username: my_username
GitHub password:
Traceback (most recent call last):
        10: from /usr/bin/gist-paste:140:in `<main>'
         9: from /usr/lib/ruby/2.7.0/optparse.rb:1691:in `parse!'
         8: from /usr/lib/ruby/2.7.0/optparse.rb:1666:in `permute!'
         7: from /usr/lib/ruby/2.7.0/optparse.rb:1569:in `order!'
         6: from /usr/lib/ruby/2.7.0/optparse.rb:1575:in `parse_in_order'
         5: from /usr/lib/ruby/2.7.0/optparse.rb:1575:in `catch'
         4: from /usr/lib/ruby/2.7.0/optparse.rb:1589:in `block in parse_in_order'
         3: from /usr/bin/gist-paste:57:in `block (2 levels) in <main>'
         2: from /usr/lib/ruby/vendor_ruby/gist.rb:350:in `login!'
         1: from /usr/lib/ruby/vendor_ruby/gist.rb:350:in `loop'
/usr/lib/ruby/vendor_ruby/gist.rb:390:in `block in login!': Got Net::HTTPNotFound from gist: {"message":"Not Found","documentation_url":"https://docs.github.com/rest"} (RuntimeError)
@ConradIrwin
Copy link
Collaborator

ConradIrwin commented Jun 2, 2021 via email

@jacobvanorder
Copy link

What if you have enterprise github? Changing the url via export GITHUB_URL= forces the new way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants