aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tasks
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-05-07 17:00:15 +0100
committerLouise Crow <louise.crow@gmail.com>2013-05-07 17:00:15 +0100
commitd7cf7063d905108cef930926d57d988682fd3fd8 (patch)
tree4447b2ab57d8dc323da778c175b9f9c5c35e0530 /lib/tasks
parentf6a337d9f27222953239a8889fa2681c415ae241 (diff)
No need to explicitly load the rake tasks in Rails 3.
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gettext.rake4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/tasks/gettext.rake b/lib/tasks/gettext.rake
index c73c2584e..ace7205ae 100644
--- a/lib/tasks/gettext.rake
+++ b/lib/tasks/gettext.rake
@@ -1,7 +1,3 @@
-# Rails won't automatically load rakefiles from gems - see
-# http://stackoverflow.com/questions/1878640/including-rake-tasks-in-gems
-Dir["#{Gem.searcher.find('gettext_i18n_rails').full_gem_path}/lib/tasks/**/*.rake"].each { |ext| load ext }
-
namespace :gettext do
desc 'Rewrite .po files into a consistent msgmerge format'