Browse files

reading REDIS_URL from ENV to support solumate on heroku

  • Loading branch information...
1 parent 92621c5 commit e15e659e6527ae7e83dee1e31eaeb105adf1672e @theghostwhoforks theghostwhoforks committed Mar 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/soulmate.rb
View
2 lib/soulmate.rb
@@ -23,7 +23,7 @@ def redis=(url)
def redis
@redis ||= (
- url = URI(@redis_url || ENV["REDISTOGO_URL"] || "redis://127.0.0.1:6379/0")
+ url = URI(@redis_url || ENV["REDIS_URL"] || "redis://127.0.0.1:6379/0")
::Redis.new({
:host => url.host,

0 comments on commit e15e659

Please sign in to comment.