Skip to content

Commit

Permalink
remove daemon requirment for mongrel on ruby 1.9, mongrel doesn't ins…
Browse files Browse the repository at this point in the history
…tall on some 1.9 environments
  • Loading branch information
thewoolleyman committed Sep 10, 2009
1 parent d3f0f03 commit 989d6ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions daemon/daemon_helper.rb
Expand Up @@ -12,9 +12,9 @@
require "rubygems"

begin
gem 'mongrel'
gem 'mongrel' if RUBY_VERSION =~ /^1.8/
rescue => e
puts "Error: daemon mode of CC.rb requires mongrel installed"
puts "Error: Under Ruby 1.8, daemon mode of CC.rb requires mongrel installed"
exit 1
end

Expand Down

0 comments on commit 989d6ba

Please sign in to comment.