ddollar/heroku-sql-console

undefined local variable or method `app'

peresleguine opened this issue · 1 comments

Here is a little issue:

$ heroku sql
/Users/peresleguine/.heroku/plugins/heroku-sql-console/lib/heroku/command/sql.rb:9:in index': undefined local variable or methodapp' for #Heroku::Command::Sql:0x000001014e1b58 (NameError)

I have two remote repositories (production and stage), however

$ heroku sql --remote stage
$ heroku sql --app app_name

gives the same error. I suppose app variable in index method should contain string ('app_name'). But I didn't understand how it must appear there.

Thanks for your attention.

That should fix your issue.

But you should also frequently run heroku update to get the latest version of heroku CLI.