templates/resque/config/initializers/resque.rb in rubber-2.0.5 vs templates/resque/config/initializers/resque.rb in rubber-2.0.6
- old
+ new
@@ -1,10 +1,10 @@
redis_host = 'localhost:6379'
-resque_yml = Rubber.root + '/config/resque.yml'
+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[rails_env]
+ redis_host = resque_config[Rubber.env]
end
Resque.redis = redis_host