-
Notifications
You must be signed in to change notification settings - Fork 339
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
All I get is "nil". #36
Comments
Maybe try the gem version of gist, via |
Not sure how to do it. But the gem version outputted "nil" as well. Oh well, copy & paste works as well ;) |
I'm sorry you're having trouble -- I don't really have any ideas. It works just fine for me both standalone and as a gem. |
I would really love to know how I can debug this. Not fluent with Ruby at all. And I'm not sure how to utilize the gem. |
okay, here's how to manually use the gem:
|
Thank you so much! But, yet Oh well, I don't want to take more of your time :) Thank for the help. Much appreciated ;) |
Very strange. That means that, somehow, the HTTP request to gist.github.com is completing without an error, but the response is not including a "Location" header. I take it the gist that you are trying to create is not actually showing up at gist.github.com? |
Okay, this is really bugging me. So here is an example of manually putting through a request to the gist server, using the gist gem to set up the data for the request. When you do this, if you copy and paste the response to return to me, please X out the "token" value, and the "_gh_sess" value (like I did below) so that they can't be used to steal your github account.
|
Using the latest commit, I where able to track down the problem to be my token were wrong :) Since I had changed my password a while back. Thank you :) However, when I gisted my |
Ah! Good catch... 302 found actually means the gist worked! Sounds like the patch I pulled doesn't handle that case correctly. :) Thanks! |
Fixed in 284dd9b. |
How come I don't see the commit, nor can pull it? |
Because I'm silly, and pushed to my fork but not the main repo :) Fixed now! |
Thank you :) |
Hello,
Can someone of you help me out with Gist? I've installed it through Homebrew, and I have set my username and token inside my
~/.gitconfig
file.However, I'm completely unable to paste anything to the
gist
command. Is there any way for me to debug this?Should be some ways for the command to check what is wrong, instead for spit out "nil".
The text was updated successfully, but these errors were encountered: