Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block jimmysoho

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
jimmysoho / gist:870446
Created Mar 15, 2011
Testing Mail gem performance
View gist:870446
def address(display_name, email_address)
address =
address.display_name = display_name
address.address = email_address
n = 1000
startTime =
View gist:534668
# Our own variable where we deploy this app to
deploy_to = "/srv/"
current_path = "#{deploy_to}/current"
shared_path = "#{deploy_to}/shared"
shared_bundler_gems_path = "#{shared_path}/bundler_gems"
# See
# Helps ensure the correct unicorn_rails is used when upgrading with USR2
Unicorn::HttpServer::START_CTX[0] = "#{shared_bundler_gems_path}/bin/unicorn_rails"
You can’t perform that action at this time.