From f015eaec05b975d0999ef1719ac54741167b6b73 Mon Sep 17 00:00:00 2001 From: cn Date: Fri, 29 Mar 2013 22:44:39 +0100 Subject: [PATCH] Drop mongrel dependency, it's old and broken --- Gemfile | 1 - Gemfile.lock | 10 ---------- status.rb | 2 +- 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Gemfile b/Gemfile index 4c57b6c..689b9ac 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,3 @@ source 'https://rubygems.org' gem 'rack' -gem 'mongrel' diff --git a/Gemfile.lock b/Gemfile.lock index 1c04893..d12c7aa 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,20 +1,10 @@ GEM remote: https://rubygems.org/ specs: - cgi_multipart_eof_fix (2.5.0) - daemons (1.1.9) - fastthread (1.0.7) - gem_plugin (0.2.3) - mongrel (1.1.5) - cgi_multipart_eof_fix (>= 2.4) - daemons (>= 1.0.3) - fastthread (>= 1.0.1) - gem_plugin (>= 0.2.3) rack (1.5.2) PLATFORMS ruby DEPENDENCIES - mongrel rack diff --git a/status.rb b/status.rb index cf9c811..b10e18b 100755 --- a/status.rb +++ b/status.rb @@ -71,5 +71,5 @@ end if ARGV.length != 4 puts "Usage: status.rb vpn-name status-log listen-host listen-port" else - Rack::Handler::Mongrel.run OpenVPNStatusWeb.new(ARGV[0], ARGV[1]), :Host => ARGV[2], :Port => ARGV[3] + Rack::Handler::WEBrick.run OpenVPNStatusWeb.new(ARGV[0], ARGV[1]), :Host => ARGV[2], :Port => ARGV[3] end