Skip to content

Commit

Permalink
temp fix to pull in mongrel tasks if using passenger
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjparrott committed Dec 5, 2008
1 parent d217919 commit af16972
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/railsmachine/recipes.rb
Expand Up @@ -293,16 +293,19 @@ def setup_mongrel
end

def restart_mongrel
require "railsmachine/recipes/app/mongrel"
set_mongrel_conf
mongrel.cluster.restart
end

def start_mongrel
require "railsmachine/recipes/app/mongrel"
set_mongrel_conf
mongrel.cluster.start
end

def stop_mongrel
require "railsmachine/recipes/app/mongrel"
set_mongrel_conf
mongrel.cluster.stop
end
Expand Down

0 comments on commit af16972

Please sign in to comment.