lib/dump_rake/rails_root.rb in dump-1.0.4 vs lib/dump_rake/rails_root.rb in dump-1.0.5
- old
+ new
@@ -1,6 +1,7 @@
# encoding: UTF-8
+# Get rails app root (Rails.root or RAILS_ROOT or Dir.pwd)
class DumpRake
RailsRoot = case
when defined?(Rails)
Rails.root
when defined?(RAILS_ROOT)