lingui.st Translating software made easy

Tag Archive | "Redis"

Resque Jobs automatically require Rails environment and Lib Classes

July 26, 2010 No comments yet

Like I mentioned in my last article, I currently use Redis/Resque quite a bit. The installation of Redis isn’t really a challenge and Resque isn’t more than a requirement in the Gemfile. However, I often forget that when I start a Resque worker, it doesn’t have access to the Environment/Lib files per default. A “class [...]

Rake task for quitting Resque workers

July 22, 2010 No comments yet

I have been using Redis/Resque for some time now. Recently, I needed a Rake task to quit all running Resque workers for deploying an application via Continuous Integration using Hudson builds. Here is with what I came up with: Just place it in a rake file under the “lib/tasks” directory and you are good to [...]