instance method
default_options
Ruby on Rails 3.0.20
Since v3.0.20Signature
default_options()
No documentation comment.
Source
# File railties/lib/rails/commands/server.rb, line 83
def default_options
super.merge({
:Port => 3000,
:environment => (ENV['RAILS_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 83
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Server