@@ -1,15 +1,15 | |||||
1 | # Add your own tasks in files placed in lib/tasks ending in .rake, |
|
1 | # Add your own tasks in files placed in lib/tasks ending in .rake, | |
2 | # for example lib/tasks/switchtower.rake, and they will automatically be available to Rake. |
|
2 | # for example lib/tasks/switchtower.rake, and they will automatically be available to Rake. | |
3 |
|
3 | |||
4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) |
|
4 | require(File.join(File.dirname(__FILE__), 'config', 'boot')) | |
5 |
|
5 | |||
6 | require 'rake' |
|
6 | require 'rake' | |
7 | require 'rake/testtask' |
|
7 | require 'rake/testtask' | |
8 |
|
8 | |||
9 | begin |
|
9 | begin | |
10 | require 'rdoc/task' |
|
10 | require 'rdoc/task' | |
11 | rescue LoadError |
|
11 | rescue LoadError | |
12 | # RDoc is not available |
|
12 | # RDoc is not available | |
13 | end |
|
13 | end | |
14 |
|
14 | |||
15 | require 'tasks/rails' No newline at end of file |
|
15 | require 'tasks/rails' |
General Comments 0
You need to be logged in to leave comments.
Login now