method
exit_with_initialization_warning!
v4.1.8 -
Show latest stable
- Class:
Rails::CommandsTasks
exit_with_initialization_warning!()private
No documentation available.
# File railties/lib/rails/commands/commands_tasks.rb, line 117
def exit_with_initialization_warning!
puts "Can't initialize a new Rails application within the directory of another, please change to a non-Rails directory first.\n"
puts "Type 'rails' for help."
exit(1)
end