diff options
Diffstat (limited to 'railties/lib/commands')
-rw-r--r-- | railties/lib/commands/servers/lighttpd.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/commands/servers/lighttpd.rb b/railties/lib/commands/servers/lighttpd.rb index 8908aec616..204dca7520 100644 --- a/railties/lib/commands/servers/lighttpd.rb +++ b/railties/lib/commands/servers/lighttpd.rb @@ -18,7 +18,7 @@ default_config_file = config_file = Pathname.new("#{RAILS_ROOT}/config/lighttpd. require 'optparse' detach = false -user_defined_active_port = nil +command_line_port = nil ARGV.options do |opt| opt.on("-p", "--port=port", "Changes the server.port number in the config/lighttpd.conf") { |port| command_line_port = port } |