10 lines
422 B
Ruby
10 lines
422 B
Ruby
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
|
|
require_relative 'config/application'
|
|
# Load Enterprise Edition rake tasks if they exist
|
|
enterprise_tasks_path = Rails.root.join('enterprise/tasks_railtie.rb').to_s
|
|
require enterprise_tasks_path if File.exist?(enterprise_tasks_path)
|
|
|
|
Rails.application.load_tasks
|