Sha256: 0e8d076dd4993c10b7c3229a408a2a0a667c3a07ace056f0f9a650e8a0f409cd

Contents?: true

Size: 222 Bytes

Versions: 2

Compression:

Stored size: 222 Bytes

Contents

redis_host = 'localhost:6379'

resque_yml = Rubber.root + '/config/resque.yml'
if File.exist? resque_yml
  resque_config = YAML.load_file(resque_yml)
  redis_host = resque_config[rails_env]
end

Resque.redis = redis_host

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubber-2.0.5 templates/resque/config/initializers/resque.rb
rubber-2.0.4 templates/resque/config/initializers/resque.rb