Permalink
Browse files

lets load the rake tasks into rails using a railtie

  • Loading branch information...
1 parent 644a855 commit 3d2e275e9b02b4b5976f0888c6d5834708133572 @joshk joshk committed with Oct 19, 2010
Showing with 13 additions and 0 deletions.
  1. +13 −0 lib/navvy.rb
View
@@ -19,3 +19,16 @@ def self.configure
yield(self.configuration)
end
end
+
+
+if defined?(Rails)
+
+ module Navvy
+ class Railtie < Rails::Railtie
+ rake_tasks do
+ require 'navvy/tasks.rb'
+ end
+ end
+ end
+
+end

0 comments on commit 3d2e275

Please sign in to comment.