mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9affba83f5
Permanently setting $VERBOSE to nil causes unwanted side effects (warnings generated by app code are silenced when triggered by a rake task but visible otherwise). silence_warnings {} would be safer to use here since it resets $VERBOSE back to what it was when the block finishes.
14 lines
188 B
Ruby
14 lines
188 B
Ruby
# Load Rails Rakefile extensions
|
|
%w(
|
|
annotations
|
|
documentation
|
|
framework
|
|
log
|
|
middleware
|
|
misc
|
|
routes
|
|
statistics
|
|
tmp
|
|
).each do |task|
|
|
load "rails/tasks/#{task}.rake"
|
|
end
|