method
new
v2_6_3 -
Show latest stable
- Class:
Bundler::Plugin::Index
new()public
No documentation available.
# File lib/bundler/plugin/index.rb, line 25
def initialize
@plugin_paths = {}
@commands = {}
@sources = {}
@hooks = {}
@load_paths = {}
begin
load_index(global_index_file, true)
rescue GenericSystemCallError
# no need to fail when on a read-only FS, for example
nil
end
load_index(local_index_file) if SharedHelpers.in_bundle?
end