instance method
default_options
Ruby on Rails 4.0.13
Since v3.0.20Signature
default_options()
No documentation comment.
Source
# File railties/lib/rails/commands/server.rb, line 111
def default_options
super.merge({
Port: 3000,
DoNotReverseLookup: true,
environment: (ENV['RAILS_ENV'] || ENV['RACK_ENV'] || "development").dup,
daemonize: false,
debugger: false,
pid: File.expand_path("tmp/pids/server.pid"),
config: File.expand_path("config.ru")
})
end
Defined in railties/lib/rails/commands/server.rb line 111
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Server