1 2 3
require File.expand_path('../../config/application', __FILE__) require 'rails/commands/console' Rails::Console.start(<%= app_const %>.instance)