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

docs: Fix proxy setting sample code #903

Merged
merged 1 commit into from
Jun 12, 2018
Merged

Conversation

nicklegr
Copy link
Contributor

Current code doesn't work. I got following error:

/usr/src/app/vendor/bundle/ruby/2.2.0/gems/http-3.0.0/lib/http/chainable.rb:164:in `via': invalid HTTP proxy: {} (HTTP::RequestError)
 from /usr/src/app/vendor/bundle/ruby/2.2.0/gems/twitter-6.2.0/lib/twitter/rest/request.rb:120:in `http_client'
 from /usr/src/app/vendor/bundle/ruby/2.2.0/gems/twitter-6.2.0/lib/twitter/rest/request.rb:36:in `perform'
 from /usr/src/app/vendor/bundle/ruby/2.2.0/gems/twitter-6.2.0/lib/twitter/search_results.rb:26:in `initialize'
 from /usr/src/app/vendor/bundle/ruby/2.2.0/gems/twitter-6.2.0/lib/twitter/rest/search.rb:33:in `new'
 from /usr/src/app/vendor/bundle/ruby/2.2.0/gems/twitter-6.2.0/lib/twitter/rest/search.rb:33:in `search'
 from test.rb:10:in `<main>'

See:

@sferik sferik merged commit 91c037c into sferik:master Jun 12, 2018
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

Successfully merging this pull request may close these issues.

2 participants