]> git.openstreetmap.org Git - rails.git/blobdiff - Rakefile
Restore loading spinner in richtext previews
[rails.git] / Rakefile
index 3bb0e8592a41ae3185ee32266c860714980dbed7..9a5ea7383aa83eec12490380a7391d1bb93eeb96 100644 (file)
--- a/Rakefile
+++ b/Rakefile
@@ -1,10 +1,6 @@
 # Add your own tasks in files placed in lib/tasks ending in .rake,
 # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
 
-require(File.join(File.dirname(__FILE__), 'config', 'boot'))
+require_relative "config/application"
 
-require 'rake'
-require 'rake/testtask'
-require 'rake/rdoctask'
-
-require 'tasks/rails'
+Rails.application.load_tasks