aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/plugin_new/templates/bin/rails.tt
blob: aa87d1b50c39363499ce37740061a695d667f928 (plain) (blame)
1
2
3
4
5
6
7
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.

ENGINE_ROOT = File.expand_path('../..', __FILE__)
ENGINE_PATH = File.expand_path('../../lib/<%= name -%>/engine', __FILE__)

require 'rails/all'
require 'rails/engine/commands'