Closed edipoReboucas closed 4 years ago
@edipoReboucas Thanks. For me, the proper fix is to rewrite this logic: https://github.com/twitter/twurl/blob/master/lib/twurl/oauth_client.rb#L12-L26
there are too many if conditions and it should be simplified. I'll look into this and open a PR later.
I'm trying use Support authorization options on request
When I run with a user without
$HOME
directory, in the case www-data (apache user), I'm getting the error:I belive that is correlated this bug in another ruby project.
# fixes: couldn't find login name expanding tilde (cont.)
As workaround, I change RCFile class
Expected behavior
Send request without
.twurlrc
fileActual behavior
twurl crash and print a error message
Steps to reproduce the behavior
shell_exec
command executing twurl with all authentication options