X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/06f3473d1c64d2e0a1ecc6f1a9c4679a52bc4761..cae9707d0b4a1a4a4db7616b35b6178b94bbdc5b:/Rakefile?ds=sidebyside diff --git a/Rakefile b/Rakefile index 3bb0e8592..9a5ea7383 100644 --- 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