diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-06 21:34:28 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-08-06 21:34:28 +0000 |
commit | 678f8cbb704ea9398a32289221de489027c6e66c (patch) | |
tree | 6404e3736f2067cb8ca4429d3a45cdd4e585da99 /railties/lib/commands | |
parent | 35670bbde59de9d0838027bd4fcd4cc04f928e3d (diff) | |
download | rails-678f8cbb704ea9398a32289221de489027c6e66c.tar.gz rails-678f8cbb704ea9398a32289221de489027c6e66c.tar.bz2 rails-678f8cbb704ea9398a32289221de489027c6e66c.zip |
Proper initialization
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4691 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
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 } |