aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/rails/plugin_new/templates/bin/rails.tt
blob: c8de9f3e0ff07ffb1f3bf563521600fbd4959c5c (plain) (blame)
1
2
3
4
5
6
7
# This command will automatically be run when you run "rails" with Rails 4 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'