mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c690b7124d
This makes "sprockets/railtie" explicit. This means that sprockets will be loaded when you require "rails/all". If you are not using requiring "rails/all", you need to manually load it with all other framework railties. In order to be complete, this commit also adds --skip-sprockets to the rails generator.
16 lines
204 B
Ruby
16 lines
204 B
Ruby
$VERBOSE = nil
|
|
|
|
# Load Rails rakefile extensions
|
|
%w(
|
|
annotations
|
|
documentation
|
|
framework
|
|
log
|
|
middleware
|
|
misc
|
|
routes
|
|
statistics
|
|
tmp
|
|
).each do |task|
|
|
load "rails/tasks/#{task}.rake"
|
|
end
|