<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>BSharpe dot com &#187; heroku</title>
	<atom:link href="http://bsharpe.com/tag/heroku/feed" rel="self" type="application/rss+xml" />
	<link>http://bsharpe.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 Feb 2012 14:05:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Switching Heroku Accounts</title>
		<link>http://bsharpe.com/misc/switch-heroku-accounts</link>
		<comments>http://bsharpe.com/misc/switch-heroku-accounts#comments</comments>
		<pubDate>Thu, 06 May 2010 23:13:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[heroku]]></category>
		<category><![CDATA[Rails]]></category>

		<guid isPermaLink="false">http://bsharpe.com/?p=4</guid>
		<description><![CDATA[Update April 2011: I now use the Heroku Plus gem to manage these accounts. I have several Heroku accounts that I need to switch between for clients. I&#8217;ve been doing it by hand for a while, and then I remembered &#8230; <a href="http://bsharpe.com/misc/switch-heroku-accounts">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<blockquote><p><em>Update April 2011</em>: I now use the <a href="https://github.com/bkuhlmann/heroku_plus">Heroku Plus</a> gem to manage these accounts.</p></blockquote>
<p><span id="more-4"></span></p>
<p>I have several <a href="http://heroku.com">Heroku</a> accounts that I need to switch between for clients.   I&#8217;ve been doing it by hand for a while, and then I remembered that<em> I could just write a bash script to make a command for my forgetful brain</em>.</p>
<p>The basic steps are:</p>
<ul>
<li><code>>heroku keys:clear</code></li>
<li><code>>rm ~/.heroku/credentials</code></li>
<li><code>>heroku list</code></li>
</ul>
<p>So, my little bash script is:<br />
<code><br />
#!/bin/bash</p>
<p>heroku keys:clear &#038;&#038; rm ~/.heroku/credentials &#038;&#038; heroku list<br />
</code></p>
<p>do a quick<br />
<code>>chmod 775 switch_heroku</code></p>
<p>and now I can switch with that simple command.<br />
<em>This is on OS X.  Probably very similar on Linux.  No idea on windows.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://bsharpe.com/misc/switch-heroku-accounts/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

