Module: Gem::BetterPermissionError

Included in:
StubSpecification
Defined in:
lib/bundler/rubygems_ext.rb

Instance Method Summary collapse

Instance Method Details

#dataObject



154
155
156
157
158
# File 'lib/bundler/rubygems_ext.rb', line 154

def data
  super
rescue Errno::EACCES
  raise Bundler::PermissionError.new(loaded_from, :read)
end