lib/nib.rb in nib-2.0.1 vs lib/nib.rb in nib-2.0.2
- old
+ new
@@ -24,10 +24,10 @@
require 'nib/setup'
require 'nib/shell'
require 'nib/update'
module Nib
- GEM_ROOT = File.expand_path('../..', __FILE__)
+ GEM_ROOT = File.expand_path('..', __dir__)
module_function
def installed_plugins
Nib::Plugins.potential_plugins.map(&:name)