Method: Rails::Command::NewCommand#perform
- Defined in:
- railties/lib/rails/commands/new/new_command.rb
#perform ⇒ Object
14 15 16 17 18 |
# File 'railties/lib/rails/commands/new/new_command.rb', line 14 def perform(*) say "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n" say "Type 'rails' for help." exit 1 end |