Permalink
Browse files

Only require when necessary

  • Loading branch information...
oriolgual committed Mar 29, 2011
1 parent dd70b14 commit acdddb4d70b5b0b13990a88ba139fbefd6bb4803
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/resort.rb
View
@@ -1,4 +1,4 @@
-require 'generators/active_record/resort_generator'
+require 'generators/active_record/resort_generator' if defined?(Rails)
# # Resort
#

0 comments on commit acdddb4

Please sign in to comment.