mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
ae54cb29d4
Without this, % rails r "require 'rails/tasks'" would cause a NoMethodError: undefined method `desc' for main:Object
16 lines
204 B
Ruby
16 lines
204 B
Ruby
require 'rake'
|
|
|
|
# Load Rails Rakefile extensions
|
|
%w(
|
|
annotations
|
|
documentation
|
|
framework
|
|
log
|
|
middleware
|
|
misc
|
|
routes
|
|
statistics
|
|
tmp
|
|
).each do |task|
|
|
load "rails/tasks/#{task}.rake"
|
|
end
|