Redis develoment env init fix

James Peret %!s(int64=10) %!d(string=hace) años
padre
commit
5bf7440166
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      config/initializers/redis.rb

+ 1 - 1
config/initializers/redis.rb

@@ -1,4 +1,4 @@
1
-if Rails.env.production? || Rails.env.test?
1
+if Rails.env.development? || Rails.env.test?
2 2
   REDIS_WORKER = Redis.new(:host => 'localhost', :port => 6379)
3 3
 else
4 4
   uri = URI.parse(ENV["REDISTOGO_URL"])