Skip to content
No description or website provided.
Ruby Shell Python
Find file
New pull request
Latest commit bd2360e @kschultz kschultz Merge pull request #25 from kschultz/more_connection_recovery
Add reconnect support for more connection problems
Failed to load latest commit information.
bin Inital Commit
lib One more reconnect opportunity
rails Inital Commit
spec One more reconnect opportunity
.gitignore Use amqp 0.9.7
Gemfile Inital Commit
LICENSE Inital Commit Minor README Tweaks
Rakefile Gem Task
rcelery.gemspec Use amqp 0.9.7

RCelery: celery for Ruby

RCelery is a Ruby port of celery, the distributed task queue for python. It does not support all of the features of celery, but does interoperate well with it, as long as both sides use the AMQP backend and json serializer.


Note: To run the example as-is, rabbitmq must be running and accepting connections on localhost port 5672. Access must be allowed to the default vhost for the default username and password.


require 'rubygems'
require 'rcelery'

module Tasks
  include RCelery::TaskSupport

  task(:ignore_result => false)
  def subtract(a,b)


require 'rubygems'
require 'rcelery'
require 'tasks'


include Tasks

difference = subtract.delay(1,2)
puts "Subtract Result: #{difference.wait}"

Run the example:

$ ruby rceleryd -t tasks.rb &
$ ruby client.rb

See the RCelery docmentation for more information.

Something went wrong with that request. Please try again.