Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

root/trunk/railties/lib/tasks/rails.rb

Revision 6101, 308 bytes (checked in by bitsweat, 1 year ago)

Plugins may be symlinked in vendor/plugins. Closes #4245.

Line 
1 $VERBOSE = nil
2
3 # Load Rails rakefile extensions
4 Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext }
5
6 # Load any custom rakefile extensions
7 Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
8 Dir["#{RAILS_ROOT}/vendor/plugins/*/**/tasks/**/*.rake"].sort.each { |ext| load ext }
Note: See TracBrowser for help on using the browser.