Method: Bundler::RubyGemsGemInstaller#ensure_writable_dir
- Defined in:
- lib/bundler/rubygems_gem_installer.rb
permalink #ensure_writable_dir(dir) ⇒ Object
[View source]
63 64 65 66 67 68 69 |
# File 'lib/bundler/rubygems_gem_installer.rb', line 63 def ensure_writable_dir(dir) super rescue Gem::FilePermissionError # Ignore permission checks in RubyGems. Instead, go on, and try to write # for real. We properly handle permission errors when they happen. nil end |