diff options
author | Jeremy McAnally <jeremymcanally@gmail.com> | 2008-12-02 17:22:27 +0100 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2008-12-02 19:39:11 +0100 |
commit | e8cc4b116c460c524961a07da92da3f323854c15 (patch) | |
tree | aac0dee8ad4b1ebcf2f1e71f4cd963c1123003ce /railties/bin | |
parent | 2014d9141aaa8e40a030875de35570b1061b7c2f (diff) | |
download | rails-e8cc4b116c460c524961a07da92da3f323854c15.tar.gz rails-e8cc4b116c460c524961a07da92da3f323854c15.tar.bz2 rails-e8cc4b116c460c524961a07da92da3f323854c15.zip |
Add "-m/--template" option to Rails generator to apply template to generated application.
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'railties/bin')
-rwxr-xr-x | railties/bin/rails | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/bin/rails b/railties/bin/rails index ae0cc8adca..6a0c675206 100755 --- a/railties/bin/rails +++ b/railties/bin/rails @@ -8,6 +8,7 @@ if %w(--version -v).include? ARGV.first end freeze = ARGV.any? { |option| %w(--freeze -f).include?(option) } + app_path = ARGV.first require File.dirname(__FILE__) + '/../lib/rails_generator' |