diff options
Diffstat (limited to 'railties/lib/generator')
-rw-r--r-- | railties/lib/generator/generators/app.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/generator/generators/app.rb b/railties/lib/generator/generators/app.rb index f5e83460d7..b54f8dc41f 100644 --- a/railties/lib/generator/generators/app.rb +++ b/railties/lib/generator/generators/app.rb @@ -167,7 +167,7 @@ module Rails::Generators def apply_rails_template apply options[:template] if options[:template] rescue LoadError, Errno::ENOENT => e - raise "The template [#{template}] could not be loaded. Error: #{e}" + raise Error, "The template [#{options[:template]}] could not be loaded. Error: #{e}" end def freeze? |