<?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"
	>

<channel>
	<title>I am yelling, can you hear me?</title>
	<atom:link href="http://iamyellingcanyouhearme.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://iamyellingcanyouhearme.com</link>
	<description>or should I type louder?</description>
	<pubDate>Fri, 11 Jul 2008 14:25:01 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>window.open in IE6/7</title>
		<link>http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/</link>
		<comments>http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/#comments</comments>
		<pubDate>Fri, 11 Jul 2008 14:25:01 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<category><![CDATA[error]]></category>

		<category><![CDATA[IE6]]></category>

		<category><![CDATA[IE7]]></category>

		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://iamyellingcanyouhearme.com/?p=10</guid>
		<description><![CDATA[While working with a client, we noticed that a JS pop-up was not popping in IE6/7 but was in FF. After some searching, it seems that IE doesn&#8217;t like space in the window name field (or dashes for that matter). I am surprised that this is still an issue in IE7. Thanks to Let&#8217;s Start [...]]]></description>
			<content:encoded><![CDATA[<p>While working with a client, we noticed that a JS pop-up was not popping in IE6/7 but was in FF. After some searching, it seems that IE doesn&#8217;t like space in the window name field (or dashes for that matter). I am surprised that this is still an issue in IE7. Thanks to <a href="http://manchu.wordpress.com/2007/11/30/java-script-windowopen-funtion-problem-in-ie/">Let&#8217;s Start Again</a>.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Share this article ...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/&amp;title=window.open in IE6/7' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/&amp;title=window.open in IE6/7' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg]'  /></a> <a href='http://www.facebook.com/share.php?u=http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook]'  /></a> <a href='http://ma.gnolia.com/bookmarklet/add?url=http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/&amp;title=window.open in IE6/7' title='Save to Ma.gnolia' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/magnolia.png' style='width:16px; height:16px;' alt='[Ma.gnolia]'  /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=window.open in IE6/7&amp;uri=http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://iamyellingcanyouhearme.com/stuff-to-read/windowopen-in-ie67/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple Beauty</title>
		<link>http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/</link>
		<comments>http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 23:13:08 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Design]]></category>

		<category><![CDATA[css]]></category>

		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://iamyellingcanyouhearme.com/?p=9</guid>
		<description><![CDATA[Sometimes its the little things that make a site. *via

Share this article ...     ]]></description>
			<content:encoded><![CDATA[<p>Sometimes its the little things that make a <a href="http://aworkinglibrary.com/">site</a>. *<a href="http://www.37signals.com/svn/posts/1103-generous-link-targets-in-the-library">via</a></p>
<p><img class="alignright" src="http://img.skitch.com/20080623-gsynx71t2dt6a87exfxjebh2x6.jpg" alt="Subtle hover effect" /></p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Share this article ...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/&amp;title=Simple Beauty' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/&amp;title=Simple Beauty' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg]'  /></a> <a href='http://www.facebook.com/share.php?u=http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook]'  /></a> <a href='http://ma.gnolia.com/bookmarklet/add?url=http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/&amp;title=Simple Beauty' title='Save to Ma.gnolia' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/magnolia.png' style='width:16px; height:16px;' alt='[Ma.gnolia]'  /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Simple Beauty&amp;uri=http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://iamyellingcanyouhearme.com/stuff-to-read/simple-beauty/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What?!?</title>
		<link>http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/</link>
		<comments>http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 23:22:03 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Mac]]></category>

		<category><![CDATA[error]]></category>

		<category><![CDATA[quicktime]]></category>

		<guid isPermaLink="false">http://iamyellingcanyouhearme.com/?p=7</guid>
		<description><![CDATA[This is quite the error message from Quicktime. Apparently, my network appears to be online. What now?

Error - Your computer appears to functioning perfectly.


Share this article ...     ]]></description>
			<content:encoded><![CDATA[<p>This is quite the error message from Quicktime. Apparently, my network appears to be <strong>online</strong>. What now?<br />
<br />
<code>Error - Your computer appears to functioning perfectly.</code><br />
<br />
<img src="http://iamyellingcanyouhearme.com/wp-content/uploads/2008/06/quicktime-player.jpg" alt="" title="quicktime-player" width="434" height="177" class="aligncenter size-full wp-image-8" /></p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Share this article ...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/&amp;title=What?!?' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/&amp;title=What?!?' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg]'  /></a> <a href='http://www.facebook.com/share.php?u=http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook]'  /></a> <a href='http://ma.gnolia.com/bookmarklet/add?url=http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/&amp;title=What?!?' title='Save to Ma.gnolia' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/magnolia.png' style='width:16px; height:16px;' alt='[Ma.gnolia]'  /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=What?!?&amp;uri=http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://iamyellingcanyouhearme.com/stuff-to-read/what-quicktime-error/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Your own gems on AOS Shared Hosting</title>
		<link>http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/</link>
		<comments>http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/#comments</comments>
		<pubDate>Sat, 24 May 2008 02:43:21 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<category><![CDATA[Rails]]></category>

		<category><![CDATA[AOS]]></category>

		<category><![CDATA[gems]]></category>

		<guid isPermaLink="false">http://iamyellingcanyouhearme.com/?p=5</guid>
		<description><![CDATA[After not having great success with RoR on MT, I decided to try another host. I had looked at ASO before and their small packages fit the bill. After requesting shell access I was adding my repo and ready to go. However, I needed certain gems added and as with most shared hosting couldn&#8217;t just [...]]]></description>
			<content:encoded><![CDATA[<p>After not having great success with RoR on MT, I decided to try another host. I had looked at <a href="http://refer.asmallorange.com/17691">ASO</a> before and their small packages fit the bill. After requesting shell access I was adding my repo and ready to go. However, I needed certain gems added and as with most shared hosting couldn&#8217;t just <code>gem install xxx</code> and be on my way. So I set out to try a <a href="http://forums.site5.com/showthread.php?t=11954">Site5 method</a> of using my local gems. <span id="more-5"></span></p>
<p>Here are the gems installed locally on my AOS server:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
</pre></td><td class="code"><pre class="bash"><span style="color: #000000; font-weight: bold;">***</span> LOCAL GEMS <span style="color: #000000; font-weight: bold;">***</span>
&nbsp;
actionmailer <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span><span style="color: #000000;">.2</span>, <span style="color: #000000;">1.3</span><span style="color: #000000;">.6</span>, <span style="color: #000000;">1.3</span><span style="color: #000000;">.3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
actionpack <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span><span style="color: #000000;">.2</span>, <span style="color: #000000;">1.13</span><span style="color: #000000;">.6</span>, <span style="color: #000000;">1.13</span><span style="color: #000000;">.3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
actionwebservice <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.2</span><span style="color: #000000;">.6</span>, <span style="color: #000000;">1.2</span><span style="color: #000000;">.3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
activerecord <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span><span style="color: #000000;">.2</span>, <span style="color: #000000;">1.15</span><span style="color: #000000;">.6</span>, <span style="color: #000000;">1.15</span><span style="color: #000000;">.3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
activeresource <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span><span style="color: #000000;">.2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
activesupport <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span><span style="color: #000000;">.2</span>, <span style="color: #000000;">1.4</span><span style="color: #000000;">.4</span>, <span style="color: #000000;">1.4</span><span style="color: #000000;">.2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
acts_as_ferret <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.4</span><span style="color: #000000;">.3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
avatar <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.0</span><span style="color: #000000;">.5</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
builder <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.1</span><span style="color: #000000;">.2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
colored <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
fcgi <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.8</span><span style="color: #000000;">.7</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
feedtools <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.2</span><span style="color: #000000;">.26</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
ferret <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.11</span><span style="color: #000000;">.6</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
hoe <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.5</span><span style="color: #000000;">.1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
hpricot <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.6</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
mime-types <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.15</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
mysql <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.7</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
rails <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2.0</span><span style="color: #000000;">.2</span>, <span style="color: #000000;">1.2</span><span style="color: #000000;">.6</span>, <span style="color: #000000;">1.2</span><span style="color: #000000;">.3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
rake <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.8</span><span style="color: #000000;">.1</span>, <span style="color: #000000;">0.7</span><span style="color: #000000;">.3</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
RedCloth <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">3.0</span><span style="color: #000000;">.4</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
redgreen <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.2</span><span style="color: #000000;">.2</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
rflickr <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">2006.02</span><span style="color: #000000;">.01</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
rmagick <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.15</span><span style="color: #000000;">.10</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
rubyforge <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.4</span><span style="color: #000000;">.5</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
rubygems-update <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.1</span><span style="color: #000000;">.1</span>, <span style="color: #000000;">1.0</span><span style="color: #000000;">.1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
sources <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.0</span><span style="color: #000000;">.1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
tzinfo <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.3</span><span style="color: #000000;">.8</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
uuidtools <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">1.0</span><span style="color: #000000;">.3</span>, <span style="color: #000000;">1.0</span><span style="color: #000000;">.1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span>
youtube-g <span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #000000;">0.4</span><span style="color: #000000;">.1</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></td></tr></table></div>

<p>I needed, to start, <code>sqlite3-ruby</code>. Here&#8217;s the steps I took.<br />
Create your gems directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #7a0874; font-weight: bold;">cd</span>
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> gems</pre></div></div>

<p>Now you need to find out your home path and local gem installation path:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #7a0874; font-weight: bold;">pwd</span>
gem environment</pre></div></div>

<p>Note the values, you&#8217;ll need them for the next step. Create a .<code>gemrc</code> file in your home directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #c20cb9; font-weight: bold;">nano</span> .gemrc</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text"># Add what is below
gemhome: /home/yourusername/gems
gempath:
- /home/yourusername/gems
- /usr/local/lib/ruby/gems/1.8</pre></div></div>

<p>Verify that gem environment has changed.</p>

<div class="wp_syntax"><div class="code"><pre class="bash">gem environment</pre></div></div>

<p>Should yield:</p>

<div class="wp_syntax"><div class="code"><pre class="text">RubyGems Environment:
  - RUBYGEMS VERSION: 1.1.1
  - RUBY VERSION: 1.8.6 (2007-09-24 patchlevel 111) [x86_64-linux]
  - INSTALLATION DIRECTORY: /home/yourusername/gems
  - RUBY EXECUTABLE: /usr/local/bin/ruby
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /home/yourusername/gems
     - /usr/local/lib/ruby/gems/1.8
&nbsp;
...</pre></div></div>

<p>Edit your .<code>bash_profile</code> to reflect the changes.</p>

<div class="wp_syntax"><div class="code"><pre class="text">nano .bash_profile</pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="text"># Add the following
export GEM_PATH=/home/yourusername/gems:/usr/local/lib/ruby/gems/1.8
export GEM_HOME=/home/yourusername/gems</pre></div></div>

<p>Then from the console, type:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GEM_PATH=</span><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>yourusername<span style="color: #000000; font-weight: bold;">/</span>gems:<span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span><span style="color: #7a0874; font-weight: bold;">local</span><span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>ruby<span style="color: #000000; font-weight: bold;">/</span>gems<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">1.8</span>
<span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">GEM_HOME=</span><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>yourusername<span style="color: #000000; font-weight: bold;">/</span>gems</pre></div></div>

<p>Verify it:</p>

<div class="wp_syntax"><div class="code"><pre class="bash"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$GEM_PATH</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #007800;">$GEM_HOME</span></pre></div></div>

<p>Install gem*:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">gem <span style="color: #c20cb9; font-weight: bold;">install</span> sqlite3-ruby</pre></div></div>

<p>Watch the server barf:</p>

<div class="wp_syntax"><div class="code"><pre class="text">Building native extensions.  This could take a while...
ERROR:  Error installing sqlite3-ruby:
	ERROR: Failed to build gem native extension.
&nbsp;
/usr/local/bin/ruby extconf.rb install sqlite3-ruby -y
checking for sqlite3.h... no
&nbsp;
make
make: *** No rule to make target `ruby.h', needed by `sqlite3_api_wrap.o'.  Stop.</pre></div></div>

<p>Install another gem:</p>

<div class="wp_syntax"><div class="code"><pre class="bash">gem <span style="color: #c20cb9; font-weight: bold;">install</span> RedCloth</pre></div></div>

<p>No problem.</p>
<p><strong>STATUS:</strong> Works for me.</p>
<p>* Tech support added the sqlite3-ruby gem for me. They rock!.</p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Share this article ...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/&amp;title=Your own gems on AOS Shared Hosting' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/&amp;title=Your own gems on AOS Shared Hosting' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg]'  /></a> <a href='http://www.facebook.com/share.php?u=http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook]'  /></a> <a href='http://ma.gnolia.com/bookmarklet/add?url=http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/&amp;title=Your own gems on AOS Shared Hosting' title='Save to Ma.gnolia' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/magnolia.png' style='width:16px; height:16px;' alt='[Ma.gnolia]'  /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Your own gems on AOS Shared Hosting&amp;uri=http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://iamyellingcanyouhearme.com/stuff-to-read/your-own-gems-on-aos-shared-hosting/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Capistrano, Rails 2.0 and MT</title>
		<link>http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/</link>
		<comments>http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/#comments</comments>
		<pubDate>Thu, 15 May 2008 12:42:13 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
		
		<category><![CDATA[Rails]]></category>

		<category><![CDATA[capistrano]]></category>

		<category><![CDATA[code]]></category>

		<category><![CDATA[mt]]></category>

		<category><![CDATA[pieshop]]></category>

		<guid isPermaLink="false">http://iamyellingcanyouhearme.com/?p=3</guid>
		<description><![CDATA[In order to prepare for the up-coming bug fixes etc of the beta release of Pieshop Invoice, I decided to set-up Capistrano with my rails app on MT. (Well, DonC suggested it.) So a quick search in MT forums brought up this How-To. After fixing some of my typos, I still was stuck. I kept getting sudo: [...]]]></description>
			<content:encoded><![CDATA[<p>In order to prepare for the up-coming bug fixes etc of the beta release of <a href="http://pieshopapp.com">Pieshop Invoice</a>, I decided to set-up Capistrano with my rails app on MT. (Well, <a href="http://donc.wordpress.com/">DonC</a> suggested it.) So a quick search in MT forums brought up this <a href="https://forums.mediatemple.net/viewtopic.php?id=1110" target="_blank">How-To</a>. After fixing some of my typos, I still was stuck. I kept getting <code>sudo: command not found</code> when I tried <code>cap deploy:setup</code>. Back to DonC, and an updated <strong>deploy.rb</strong> with the added line <code>set :use_sudo,   false</code>. And I was running again.<span id="more-3"></span></p>
<p>Until I got to <code>cap deploy:migrate</code> which <a href="https://forums.mediatemple.net/viewtopic.php?pid=7728#p7728">breaks</a> due to my app being a Rails 2.0 app. So after following the <a href="https://forums.mediatemple.net/viewtopic.php?pid=7790#p7790">advice</a> of gecko (a MT engineer), I did a SVN check out of Rails and set it as an external. So after all that and more tweaks to my <strong>deploy.rb</strong>, everything is running smooth.</p>
<p>Here&#8217;s the code:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
</pre></td><td class="code"><pre class="ruby"><span style="color:#CC0066; font-weight:bold;">require</span> <span style="color:#996600;">&quot;mt-capistrano&quot;</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># Your site number is right after the 's' in your access domain</span>
set <span style="color:#ff3333; font-weight:bold;">:site</span>,         <span style="color:#996600;">&quot;&quot;</span>
<span style="color:#008000; font-style:italic;"># The name for your app within /containers/rails/</span>
set <span style="color:#ff3333; font-weight:bold;">:application</span>,  <span style="color:#996600;">&quot;&quot;</span>
<span style="color:#008000; font-style:italic;"># The destination domain for you app</span>
set <span style="color:#ff3333; font-weight:bold;">:webpath</span>,      <span style="color:#996600;">&quot;&quot;</span>
<span style="color:#008000; font-style:italic;"># The primary domain for your server</span>
set <span style="color:#ff3333; font-weight:bold;">:domain</span>,       <span style="color:#996600;">&quot;&quot;</span>
<span style="color:#008000; font-style:italic;"># Your SSH user (serveradmin@mt-example.com)</span>
set <span style="color:#ff3333; font-weight:bold;">:user</span>,         <span style="color:#996600;">&quot;&quot;</span>
<span style="color:#008000; font-style:italic;"># set up ssh keys so you don't need a password here</span>
set <span style="color:#ff3333; font-weight:bold;">:password</span>,     <span style="color:#996600;">&quot;&quot;</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># repository on (gs)</span>
set <span style="color:#ff3333; font-weight:bold;">:repository</span>, <span style="color:#996600;">&quot;svn+ssh://#{user}@#{domain}/home/#{site}/data/repo/app1/trunk&quot;</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># offsite repository</span>
<span style="color:#008000; font-style:italic;">#set :repository, &quot;&quot;</span>
&nbsp;
set <span style="color:#ff3333; font-weight:bold;">:deploy_via</span>, <span style="color:#ff3333; font-weight:bold;">:copy</span>
set <span style="color:#ff3333; font-weight:bold;">:copy_cache</span>, <span style="color:#0000FF; font-weight:bold;">true</span>
set <span style="color:#ff3333; font-weight:bold;">:copy_strategy</span>, <span style="color:#ff3333; font-weight:bold;">:export</span>
&nbsp;
set <span style="color:#ff3333; font-weight:bold;">:use_sudo</span>,     <span style="color:#0000FF; font-weight:bold;">false</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># which environment to work in</span>
set <span style="color:#ff3333; font-weight:bold;">:rails_env</span>,    <span style="color:#996600;">&quot;production&quot;</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># necessary for functioning on the (gs)</span>
default_run_options<span style="color:#006600; font-weight:bold;">&#91;</span><span style="color:#ff3333; font-weight:bold;">:pty</span><span style="color:#006600; font-weight:bold;">&#93;</span> = <span style="color:#0000FF; font-weight:bold;">true</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># these shouldn't be changed</span>
role <span style="color:#ff3333; font-weight:bold;">:web</span>, <span style="color:#996600;">&quot;#{domain}&quot;</span>
role <span style="color:#ff3333; font-weight:bold;">:app</span>, <span style="color:#996600;">&quot;#{domain}&quot;</span>
role <span style="color:#ff3333; font-weight:bold;">:db</span>,  <span style="color:#996600;">&quot;#{domain}&quot;</span>, <span style="color:#ff3333; font-weight:bold;">:primary</span> <span style="color:#006600; font-weight:bold;">=&gt;</span> <span style="color:#0000FF; font-weight:bold;">true</span>
set <span style="color:#ff3333; font-weight:bold;">:deploy_to</span>,    <span style="color:#996600;">&quot;/home/#{site}/containers/rails/#{application}&quot;</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># uncomment if desired</span>
<span style="color:#008000; font-style:italic;">#after &quot;deploy:update_code&quot;.to_sym do</span>
<span style="color:#008000; font-style:italic;">#  put File.read(&quot;deploy/database.yml.mt&quot;), &quot;#{release_path}/config/database.yml&quot;, :mode =&gt; 0444</span>
<span style="color:#008000; font-style:italic;">#end</span>
&nbsp;
<span style="color:#008000; font-style:italic;"># update .htaccess rules after new version is deployed</span>
after <span style="color:#996600;">&quot;deploy:symlink&quot;</span>.<span style="color:#9900CC;">to_sym</span>, <span style="color:#996600;">&quot;mt:generate_htaccess&quot;</span>.<span style="color:#9900CC;">to_sym</span></pre></td></tr></table></div>

<p>Download <a href="http://iamyellingcanyouhearme.com/wp-content/uploads/2008/05/deploy.rb">deploy.rb</a>.<br />
 </p>
<div class='bookmarkify'><a name='bookmarkify'></a><div class='title' title='Use these links to share this page with others'>Share this article ...</div><div class='linkbuttons'><a href='http://del.icio.us/post?url=http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/&amp;title=Capistrano, Rails 2.0 and MT' title='Save to del.icio.us' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/delicious.png' style='width:16px; height:16px;' alt='[del.icio.us]'  /></a> <a href='http://digg.com/submit?phase=2&amp;url=http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/&amp;title=Capistrano, Rails 2.0 and MT' title='Digg It!' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/digg.png' style='width:16px; height:16px;' alt='[Digg]'  /></a> <a href='http://www.facebook.com/share.php?u=http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/' title='Save to Facebook' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/facebook.png' style='width:16px; height:16px;' alt='[Facebook]'  /></a> <a href='http://ma.gnolia.com/bookmarklet/add?url=http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/&amp;title=Capistrano, Rails 2.0 and MT' title='Save to Ma.gnolia' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/magnolia.png' style='width:16px; height:16px;' alt='[Ma.gnolia]'  /></a> <a href='http://www.feedburner.com/fb/a/emailFlare?itemTitle=Capistrano, Rails 2.0 and MT&amp;uri=http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/&amp;loc=en_US' title='Email this to a friend' onclick='target="_blank";' rel='nofollow'><img src='http://iamyellingcanyouhearme.com/wp-content/plugins/bookmarkify/email.png' style='width:16px; height:16px;' alt='[Email]'  /></a> </div></div>]]></content:encoded>
			<wfw:commentRss>http://iamyellingcanyouhearme.com/stuff-to-read/capistrano-rails-2-and-mt/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
