Created
April 17, 2010 08:20
-
-
Save cyx/369401 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc "redis ENV", "Start the redis server in the supplied environment" | |
def redis(env = ENV['RACK_ENV'] || 'development') | |
verify_config env | |
exec "redis-server config/redis/#{env}.conf" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment