diff options
author | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-03-03 02:48:46 +0000 |
---|---|---|
committer | zedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9> | 2006-03-03 02:48:46 +0000 |
commit | 918342bc149e3df12923368b1e529815b367ca81 (patch) | |
tree | 153c2c9aa395054d67a6d66e5b8678efce29d1cc /bin | |
parent | c2efd0fcc1bf19f0eaaac102548dda12a81906e9 (diff) | |
download | unicorn-918342bc149e3df12923368b1e529815b367ca81.tar.gz |
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@70 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'bin')
-rw-r--r-- | bin/mongrel_rails | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/mongrel_rails b/bin/mongrel_rails index c78895d..2b363bd 100644 --- a/bin/mongrel_rails +++ b/bin/mongrel_rails @@ -18,7 +18,7 @@ class Start < Mongrel::Plugin "/commands" ['-m', '--mime PATH', "A YAML file that lists additional MIME types", :@mime_map, nil], ['-c', '--chdir PATH', "Change to dir before starting (will be expanded)", :@cwd, Dir.pwd], ['-r', '--root PATH', "Set the document root (default 'public')", :@docroot, "public"], - ['-L', '--load PATH', "Loads plugins from the given directory", :@load_from, nil] + ['-L', '--load PATH', "Loads plugins from the given directory", :@load_from, nil], ] end @@ -85,7 +85,6 @@ class Start < Mongrel::Plugin "/commands" def start_mongrel(rails) @restart = false - # start up mongrel with the right configurations server = Mongrel::HttpServer.new(@address, @port, @num_procs.to_i, @timeout.to_i) server.register("/", rails) server.run |