summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/Rakefile b/Rakefile
index 13c7e79c7..5fbdf84ca 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,15 +1,7 @@
+#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
-# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.
+# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
-require(File.join(File.dirname(__FILE__), 'config', 'boot'))
+require File.expand_path('../config/application', __FILE__)
-require 'rake'
-require 'rake/testtask'
-
-begin
- require 'rdoc/task'
-rescue LoadError
- # RDoc is not available
-end
-
-require 'tasks/rails'
+RedmineApp::Application.load_tasks