method
new
new(runtime_args, runtime_options = {})
public
Hide source
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 10 def initialize(runtime_args, runtime_options = {}) super usage if args.empty? @destination_root = args.shift @socket = MYSQL_SOCKET_LOCATIONS.find { |f| File.exists?(f) } @socket = '/path/to/your/mysql.sock' if @socket.blank? end