-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Unable to bundle install repo #5463
Comments
@ashkut Does this match your experience: #5127 (comment) (I found that using the above "Try this link" comment.) Also, would you be able to try with a newer Rubygems? |
HI @olleolleolle , I did check the #5127 link through google before raising the issue. Even tried sudo bundle install, to check if access permissions is an issue but go the same error. I updated the rubygems as you suggested but got the same error again. Logs below. ttn@ttn-Aspire-E5-571: bundle install Error ReportQuestionsPlease fill out answers to these questions, it'll help us figure out
Backtrace
Environment
|
Updater.rb: Avoid using String method on nil This code in Compact Index Client expected there to _be_ an ETag header in the response: ```ruby response_etag = response["ETag"].gsub(%r{\AW/}, "") ``` This PR handles that case when an ETag header may not be available in the `response`. If so, we won't try to update any cache. ~**Questions**: Would it be better with a non-empty string default? Something along the lines of "No ETag header found in response"?~ Closes #5463 --- Continuation of this work: Use artifice to imitate Net::HTTP interactions - see fb8d40c for details
Updater.rb: Avoid using String method on nil This code in Compact Index Client expected there to _be_ an ETag header in the response: ```ruby response_etag = response["ETag"].gsub(%r{\AW/}, "") ``` This PR handles that case when an ETag header may not be available in the `response`. If so, we won't try to update any cache. ~**Questions**: Would it be better with a non-empty string default? Something along the lines of "No ETag header found in response"?~ Closes #5463 --- Continuation of this work: Use artifice to imitate Net::HTTP interactions - see fb8d40c for details (cherry picked from commit f7fec40)
I am getting the below error while doing bundle install for a new project. Any suugestions?
bundle install
Fetching gem metadata from http://rubygems.org/.
Retrying fetcher due to error (2/4): NoMethodError undefined method
gsub' for nil:NilClass. Retrying fetcher due to error (3/4): NoMethodError undefined method
gsub' for nil:NilClass.Retrying fetcher due to error (4/4): NoMethodError undefined method `gsub' for nil:NilClass.
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
What did you do?
I ran the command
/usr/local/bin/bundle install
What did you expect to happen?
I expected Bundler to...
What happened instead?
Instead, what happened was...
Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried...
Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...
Backtrace
Environment
The text was updated successfully, but these errors were encountered: