# Heroku gem and two different heroku accounts

**URL:** <https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334>\
**Category:** Rails\
**Created:** [September 11, 2009, 12:32pm UTC](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334 "2009-09-11T12:32:05Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![anton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@anton](https://www.ruby-forum.com/u/anton)\
**Post date:** [September 11, 2009, 12:32pm UTC](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334/1 "2009-09-11T12:32:05Z")

</div>

Heroku support works so slowly I want to ask community.  
1)I have a problem with switching between my two heroku accounts on the  
same laptop. All of the commands execute from one of these, but I want  
to execute it from another. Howto switch user to another heroku account?  
2) how to treat my ubuntu to default for the [heroku.com](http://heroku.com)?

---

<div class="post-metadata">

**Author:** ![anton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@anton](https://www.ruby-forum.com/u/anton)\
**Post date:** [September 11, 2009, 7:46pm UTC](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334/2 "2009-09-11T19:46:56Z")

</div>

Anton Mislavsky wrote:

> Heroku support works so slowly I want to ask community.  
> 1)I have a problem with switching between my two heroku accounts on the  
> same laptop. All of the commands execute from one of these, but I want  
> to execute it from another. Howto switch user to another heroku account?

heroku console --app myherokuappname  
replace “console” with whatever command you actually need to run.

> 1. how to treat my ubuntu to default for the [heroku.com](http://heroku.com)?

I’m sorry, I don’t understand what you are asking. Please post and  
clarify.

Paul Cortens  
[http://www.cebuya.com](http://www.cebuya.com)

P.S. In the future I suggest [http://groups.google.com/group/heroku](http://groups.google.com/group/heroku) for  
any Heroku related questions.

---

<div class="post-metadata">

**Author:** ![anton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@anton](https://www.ruby-forum.com/u/anton)\
**Post date:** [September 11, 2009, 7:49pm UTC](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334/3 "2009-09-11T19:49:57Z")

</div>

thank u

---

<div class="post-metadata">

**Author:** ![anton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@anton](https://www.ruby-forum.com/u/anton)\
**Post date:** [September 11, 2009, 8:12pm UTC](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334/4 "2009-09-11T20:12:07Z")

</div>

The authentication info is stored in:  
~/.heroku/credentials

Paul

---

<div class="post-metadata">

**Author:** ![anton](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d9b06d/32.png) [@anton](https://www.ruby-forum.com/u/anton)\
**Post date:** [September 11, 2009, 8:08pm UTC](https://www.ruby-forum.com/t/heroku-gem-and-two-different-heroku-accounts/175334/5 "2009-09-11T20:08:42Z")

</div>

> > 1. how to treat my ubuntu to default for the [heroku.com](http://heroku.com)?
> 
> I’m sorry, I don’t understand what you are asking. Please post and  
> clarify.
> 
> Paul Cortens  
> [http://www.cebuya.com](http://www.cebuya.com)  
> I meant how to reset email(login) and change it to another.  
> You can see it by the command  
> $heroku keys
