method

exit_with_initialization_warning!

rails latest stable - Class: Rails::CommandsTasks

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.0.0.1) is shown here.

exit_with_initialization_warning!()
private

No documentation available.

# File railties/lib/rails/commands/commands_tasks.rb, line 127
      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