Permalink
Browse files

temp2

  • Loading branch information...
1 parent a0d6b14 commit d723ace7de5cea31d266d824dec84defc0ceb6bc Felix Holmgren committed Nov 21, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/heroku/command/redis_console.rb
@@ -4,7 +4,7 @@ class Heroku::Command::Redis < Heroku::Command::Base
def cli(*queries)
db_env_key = extract_option("--db") | 'REDIS_URL'
config_vars = heroku.get_config_vars
- redis_url = config_vars(app)[db_env_key]
+ redis_url = app.config_vars(app)[db_env_key]
return puts "No such redis (#{db_env_key}), try setting --db REDIS_URL." unless redis_url
uri = URI.parse(redis_url)

0 comments on commit d723ace

Please sign in to comment.