diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2020-07-08 23:26:28 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-08-31 19:06:14 +0900 |
commit | 4bc87cb1fb9ecbd227720bd48836935996574166 (patch) | |
tree | 407e9cdcbd6d453b1dd48b0ebce2a0d8a50997ef /lib/bundler/rubygems_integration.rb | |
parent | 1e290c31f4fdfd330b9cd1d5c7fe61efa4ab066c (diff) |
[rubygems/rubygems] Remove `syck` traces from `bundler`
Same reason as in the previous commit.
https://github.com/rubygems/rubygems/commit/f00a6c8516
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4789
Diffstat (limited to 'lib/bundler/rubygems_integration.rb')
-rw-r--r-- | lib/bundler/rubygems_integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb index 98982b0f07..26cc4d85e5 100644 --- a/lib/bundler/rubygems_integration.rb +++ b/lib/bundler/rubygems_integration.rb @@ -119,7 +119,7 @@ module Bundler Bundler.ui.error "#{e.class}: #{e.message}" Bundler.ui.trace e raise - rescue YamlLibrarySyntaxError => e + rescue ::Psych::SyntaxError => e raise YamlSyntaxError.new(e, "Your RubyGems configuration, which is " \ "usually located in ~/.gemrc, contains invalid YAML syntax.") end |