-
Notifications
You must be signed in to change notification settings - Fork 407
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
"no implicit conversion of nil into String" when logging in #190
Comments
This is weird. Login with GitHub failed, but the error's response body was https://github.com/travis-ci/travis.rb/blob/v1.6.11/lib/travis/tools/github.rb#L230 Does the error persist? |
Just ran into this issue, has anyone found a fix for this? |
For me, this was a firewall issue. Once I went to another network without a firewall, I was able to login to Travis with no issues. |
Is this still an issue for anyone else? I am experiencing it now - no firewall issues. |
Same issue here. Facing it now :( . @BanzaiMan , Can you please help |
Same issue here. Trying to login using github token. |
I've the same issue. It doesn't matter if I use a github-token or username and password. username/password
github-token
|
I had the same issue, but I solved it by upgrading to Ruby (from 2.0 to 2.3). Not sure if it matters, but I was also using Original error:
|
Some issue here:
|
Got same error, is there any solution for this issue ? |
I had the same exact issues as what have been reported since Feb 23 2018, including the same exact stacktrace. Thanks to what @hancush called out:
...did the trick for me. I'm now able to sign in! |
@blackcappedchickadee doesn't work on me :(
|
I tried pretty much everything, with no luck. In the end I gave up and installed it using homebrew ( |
I managed to workaround this by switching ruby versions. I was using ruby 2.0.0 and switched to ruby 2.3.3 with rbenv.
Serves me right for running such an old ruby. |
I have just installed ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin16] on my MacBook via same error as before. But... travis try to use old ruby again...
|
@WuglyakBolgoink Travis is still linked to the old 2.0.0 gems I assume. You'll need to reinstall the travis gem so that it links to your current ruby version. |
@astromechza thank you! fully re'install travis was very helpful! now I see no errors during login. |
Same here, and the cause is I'm using |
I just spent forever and figured it out. There are a few gotchas that can prevent the whole thing from working. If you've installed it incorrectly once, you might run into this issue over and over again. what I did (thanks to all the comments above) was:
Properly install travis to the correct version of ruby
This worked for me, and I think that if everyone makes sure that their computer is not in a strange state, it should work for everyone else. Hope this helps! |
Thanks @fongelias That worked for me! I did not have to follow the full guide though, just upgrading ruby via For people who want to update ruby using rvm or brew, refer this link. I guess this ticket could be closed. No? |
I installed the latest version of ruby with Homebrew |
Still seeing the error after following @fongelias 's instructions... |
This should be fixed by 59ef981. |
Just d/l and installed travis cli onto Ubuntu 12.0, with ruby 2.1
First command I tried it asked me to log in, but then:
The text was updated successfully, but these errors were encountered: