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-2.5.0 templates/resque/config/initializers/resque.rb
rubber-2.4.2 templates/resque/config/initializers/resque.rb
rubber-2.4.1 templates/resque/config/initializers/resque.rb
rubber-2.4.0 templates/resque/config/initializers/resque.rb
rubber-2.3.1 templates/resque/config/initializers/resque.rb
rubber-2.3.0 templates/resque/config/initializers/resque.rb
rubber-2.2.4 templates/resque/config/initializers/resque.rb
rubber-2.2.3 templates/resque/config/initializers/resque.rb
rubber-2.2.2 templates/resque/config/initializers/resque.rb
rubber-2.2.1 templates/resque/config/initializers/resque.rb
rubber-2.2.0 templates/resque/config/initializers/resque.rb
rubber-2.1.2 templates/resque/config/initializers/resque.rb
rubber-2.1.1 templates/resque/config/initializers/resque.rb
rubber-2.1.0 templates/resque/config/initializers/resque.rb
rubber-2.0.8 templates/resque/config/initializers/resque.rb
rubber-2.0.7 templates/resque/config/initializers/resque.rb
rubber-2.0.6 templates/resque/config/initializers/resque.rb