This repository has been archived by the owner on Apr 14, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2k
bundle install: undefined method `use_ssl=' for #<Net::HTTP::Persistent::SSLReuse #4054
Comments
Do we still support RG 1.3.7? |
Yes :'( |
now,i have updated the RG to version 2.3.8,but did not work, it still the same error message |
@OneMain Can you post your new |
agis
changed the title
bundle install error
bundle install: undefined method `use_ssl=' for #<Net::HTTP::Persistent::SSLReuse
Oct 21, 2015
Based on the backtrack this is some situation where ruby is compiled without SSL, and Net HTTP Persistent doesn't check for the use_ssl= method before trying to use it. Maybe we can catch this and throw the Bundler SSL missing error? |
homu
added a commit
that referenced
this issue
Dec 27, 2015
…=indirect Catch NoMethodError for `use_ssl=` and raise appropriate FriendlyErrors warning Addresses #4054. - `NoMethodError` for `use_ssl=` in the downloader should now throw a `LoadError` with `cannot load such file -- openssl` as the message which will be caught and logged by the `FriendlyErrors` module as an OpenSSL Ruby error.
Addressed by #4188 |
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
dongchao:xmo iclick$ bundle install
--- ERROR REPORT TEMPLATE -------------------------------------------------------
What did you do?
I ran the command
/Users/iclick/.rvm/gems/ruby-1.9.1-p431/bin/bundle install
What did you expect to happen?
I expected Bundler to...
What happened instead?
Instead, what actually happened was...
Error details
Environment
Bundler settings
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=undefined+method+%60use_ssl%3D%27+for+%23%3CNet%3A%3AHTTP%3A%3APersistent%3A%3ASSLReuse+ruby.taobao.org%3A443+open%3Dfalse%3E&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new
You have new mail in /var/mail/iclick
dongchao:xmo iclick$
The text was updated successfully, but these errors were encountered: