David, that is exactly what I needed.  Thank you!

Should this be in the Heroku docs?  Seems like a fairly common
problem, having more than one remote (stage sites, etc).  Anyway, just
a thought, thanks again!

On May 26, 1:06 pm, David Dollar <[email protected]> wrote:
> This happens if you have more than one git remote as a heroku app to avoid 
> running commands on the wrong app.
>
> You can set the default remote by running
>
> git config heroku.remote heroku
>
> Cheers,
> David
>
>
>
> On Thursday, May 26, 2011 at 12:49 PM, Pulley wrote:
> > I just updated my heroku gem from 1.17.5 to 2.1.4. Suddenly, the gem
> > does not recognize my default app. I have a git remote called
> > 'heroku', but when I try, for example, heroku console, I get 'No app
> > specified'.
>
> > Obviously, it works when I add '--app myapp', but I'd rather not
> > specify the app everytime. The gem recognized my default app before
> > the upgrade, anyone else having this issue?
>
> > I searched the docs, this forum, and google, could not find anything
> > on setting the default app name for heroku.
>
> > Thanks!
>
> > --
> > You received this message because you are subscribed to the Google Groups 
> > "Heroku" group.
> > To post to this group, send email to [email protected] 
> > (mailto:[email protected]).
> > To unsubscribe from this group, send email to 
> > [email protected] 
> > (mailto:[email protected]).
> > For more options, visit this group 
> > athttp://groups.google.com/group/heroku?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to