Commit 9cf07f32239b2f7640fb36e96c6ea83d4bc2bdf5

Authored by Luke Baker
1 parent 38ea3b22

add redis configuration file

config/initializers/load_config.rb 0 → 100644
... ... @@ -0,0 +1 @@
  1 +REDIS_CONFIG = YAML.load_file("#{Rails.root}/config/redis.yml")
... ...
config/initializers/redis.rb
1 1 require 'redis'
2   -$redis = Redis.new
  2 +$redis = Redis.new(:host => REDIS_CONFIG['hostname'])
... ...
config/redis.yml 0 → 100644
... ... @@ -0,0 +1 @@
  1 +hostname: localhost
... ...