Base worker for Ruby