# Add your own tasks in files placed in lib/tasks ending in .rakeand they will automatically be available to Rake. require File.expand_path('../config/application', __FILE__) Rails.application.load_tasks