1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/tasks.rb
Akira Matsuda ae54cb29d4 require 'rake' before requiring Rake tasks
Without this,
% rails r "require 'rails/tasks'"
would cause a NoMethodError: undefined method `desc' for main:Object
2014-12-03 06:28:09 +09:00

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