Sha256: 3a0a1a3e028771a6e8921fcad896737240528f0d30f4d592c5ff67840357d843

Contents?: true

Size: 228 Bytes

Versions: 57

Compression:

Stored size: 228 Bytes

Contents

redis_host = 'localhost:6379'

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

Resque.redis = redis_host

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
rubber-3.2.2 templates/resque/config/initializers/resque.rb
rubber-3.2.1 templates/resque/config/initializers/resque.rb
rubber-3.2.0 templates/resque/config/initializers/resque.rb
rubber-3.1.0 templates/resque/config/initializers/resque.rb
rubber-3.0.1 templates/resque/config/initializers/resque.rb
rubber-3.0.0 templates/resque/config/initializers/resque.rb
rubber-2.16.0 templates/resque/config/initializers/resque.rb
rubber-2.15.2 templates/resque/config/initializers/resque.rb
rubber-2.15.1 templates/resque/config/initializers/resque.rb
rubber-2.15.0 templates/resque/config/initializers/resque.rb
rubber-2.14.0 templates/resque/config/initializers/resque.rb
rubber-2.13.1 templates/resque/config/initializers/resque.rb
rubber-2.13.0 templates/resque/config/initializers/resque.rb
rubber-2.12.2 templates/resque/config/initializers/resque.rb
rubber-2.12.1 templates/resque/config/initializers/resque.rb
rubber-2.12.0 templates/resque/config/initializers/resque.rb
rubber-2.11.0 templates/resque/config/initializers/resque.rb
rubber-2.10.2 templates/resque/config/initializers/resque.rb
rubber-2.10.1 templates/resque/config/initializers/resque.rb
rubber-2.10.0 templates/resque/config/initializers/resque.rb