lib/dotgpg/rails.rb in dotgpg-rails-0.1.0 vs lib/dotgpg/rails.rb in dotgpg-rails-0.1.1

- old
+ new

@@ -95,10 +95,10 @@ # Internal: `Rails.root` is nil in Rails 4.1 before the application is # initialized, so this falls back to the `RAILS_ROOT` environment variable, # or the current working directory. def root - ::Rails.root || Pathname.new(ENV["RAILS_ROOT"] || Dir.pwd) + ::Rails.root || Pathname.new(ENV["RAILS_ROOT"] || ::Dir.pwd) end # Rails uses `#method_missing` to delegate all class methods to the # instance, which means `Kernel#load` gets called here. We don't want that. def self.load