From 035b8168e6cb58b2eaee9037a3a95530b8349450 Mon Sep 17 00:00:00 2001 From: Jack Dempsey Date: Thu, 4 Feb 2010 23:34:56 +0800 Subject: [PATCH] fix location of tasks to silence deprecation warning --- {tasks => lib/tasks}/rails_upgrade_tasks.rake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename {tasks => lib/tasks}/rails_upgrade_tasks.rake (97%) diff --git a/tasks/rails_upgrade_tasks.rake b/lib/tasks/rails_upgrade_tasks.rake similarity index 97% rename from tasks/rails_upgrade_tasks.rake rename to lib/tasks/rails_upgrade_tasks.rake index cda6aa1..e9cb01d 100644 --- a/tasks/rails_upgrade_tasks.rake +++ b/lib/tasks/rails_upgrade_tasks.rake @@ -1,4 +1,4 @@ -$:.unshift(File.dirname(__FILE__) + "/../lib") +$:.unshift(File.dirname(__FILE__) + "/../../lib") require 'routes_upgrader' require 'gemfile_generator' require 'application_checker' @@ -72,4 +72,4 @@ namespace :rails do puts end end -end \ No newline at end of file +end