lib/drg.rb in drg-1.3.0 vs lib/drg.rb in drg-1.4.0

- old
+ new

@@ -1,13 +1,16 @@ require 'pathname' require 'ostruct' require 'set' require 'bundler' require 'highline' -require 'duck_puncher' require 'drg/version' module DRG autoload :Tasks, 'drg/tasks' end -load 'tasks/drg.rake' +if defined?(Rails) + require 'drg/railtie' +else + load 'tasks/drg.rake' +end