diff options
Diffstat (limited to 'lib/rubygems/config_file.rb')
-rw-r--r-- | lib/rubygems/config_file.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/config_file.rb b/lib/rubygems/config_file.rb index cf14017ea2..1f4afba0f4 100644 --- a/lib/rubygems/config_file.rb +++ b/lib/rubygems/config_file.rb @@ -337,7 +337,7 @@ if you believe they were disclosed to a third party. end return content rescue *YAMLErrors => e - warn "Failed to load #{filename}, #{e.to_s}" + warn "Failed to load #{filename}, #{e}" rescue Errno::EACCES warn "Failed to load #{filename} due to permissions problem." end |