Method not available on this version
This method is only available on newer versions.
The first available version (v2_6_3) is shown here.
root()
public
The directory root for all plugin
related data
If run in an app, points to local root, in app_config_path Otherwise,
points to global root, in Bundler.user_bundle_path(“plugin”)
# File lib/bundler/plugin.rb, line 86
def root
@root ||= if SharedHelpers.in_bundle?
local_root
else
global_root
end
end