Skip to content

Instantly share code, notes, and snippets.

@karmajunkie
Created November 14, 2011 19:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karmajunkie/1364919 to your computer and use it in GitHub Desktop.
Save karmajunkie/1364919 to your computer and use it in GitHub Desktop.
unless defined? PhusionPassenger
module PhusionPassenger
def self.on_event(event_name, &block)
#the only event I use this with is :starting_worker_process,
#which takes a `forked` parameter, which we want to be false
yield false
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment