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
Psych::SyntaxError: (<unknown>): mapping values are not allowed in this context at line 3 column 4 #4042
Comments
It looks like your ruby gems config file is invalid. |
End users should never see backtraces; let's print an error with what information we have (and if needed say that they can check the validity of a YAML file at url X or with command Y) |
agis
added a commit
that referenced
this issue
Oct 27, 2015
agis
added a commit
that referenced
this issue
Oct 27, 2015
agis
added a commit
that referenced
this issue
Oct 27, 2015
agis
added a commit
that referenced
this issue
Oct 27, 2015
agis
added a commit
that referenced
this issue
Oct 27, 2015
agis
added a commit
that referenced
this issue
Oct 28, 2015
agis
added a commit
that referenced
this issue
Oct 28, 2015
homu
added a commit
that referenced
this issue
Oct 28, 2015
Handle invalid RubyGems config files Fixes #4042.
homu
added a commit
that referenced
this issue
Oct 28, 2015
Handle invalid RubyGems config files Fixes #4042.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I got below error message when I run bundle install
appledev093$ bundle install
Warning: this Gemfile contains multiple primary sources. Using
source
more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, runbundle config disable_multisource true
.Fetching gem metadata from https://rails-assets.org/../Library/Ruby/Gems/2.0.0/gems/bundler-1.10.6/lib/bundler.rb:315: warning: Insecure world writable dir /usr/local/bin in PATH, mode 040777
--- ERROR REPORT TEMPLATE -------------------------------------------------------
What did you do?
I ran the command
/usr/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=%28%3Cunknown%3E%29%3A+mapping+values+are+not+allowed+in+this+context+at+line+3+column+4&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
The text was updated successfully, but these errors were encountered: