<?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>imarichardson.com</title>
	<atom:link href="http://www.imarichardson.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.imarichardson.com</link>
	<description>I&#039;m a Richardson. Are you?</description>
	<lastBuildDate>Thu, 10 May 2012 19:29:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Ugh &#8230; can&#8217;t find executable rails for rails-3.x.x</title>
		<link>http://www.imarichardson.com/2012/05/10/ugh-cant-find-executable-rails-for-rails-3-x-x/</link>
		<comments>http://www.imarichardson.com/2012/05/10/ugh-cant-find-executable-rails-for-rails-3-x-x/#comments</comments>
		<pubDate>Thu, 10 May 2012 19:26:08 +0000</pubDate>
		<dc:creator>Saeed Richardson</dc:creator>
				<category><![CDATA[Code Woes]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[errors]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.imarichardson.com/?p=32</guid>
		<description><![CDATA[So you&#8217;re about to build that next great application and you add rails 3.2.3 to your Gemfile. Then you strike up the server and get an error: $ rails server /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:335:in `bin_path': can't find executable rails for rails-3.2.1 (Gem::Exception) from /usr/local/bin/rails:19 Resolution: install the railties gem. $ gem install railties Successfully installed railties-3.2.3 1 gem installed [...]]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 248px"><a href="http://www.flickr.com/photos/18155385@N00/337290059" target="_blank"><img class="zemanta-img-inserted zemanta-img-configured" title="Application error (Rails)" src="http://farm1.static.flickr.com/144/337290059_4123358eb8_m.jpg" alt="Application error (Rails)" width="238" height="240" /></a><p class="wp-caption-text">Application error (Rails) (Photo credit: geirarne)</p></div>
<p>So you&#8217;re about to build that next great application and you add rails 3.2.3 to your Gemfile. Then you strike up the server and get an error:</p>
<pre class="wp-code-highlight prettyprint"> $ rails server
 /usr/local/lib/ruby/site_ruby/1.8/rubygems.rb:335:in `bin_path': can't find executable rails for rails-3.2.1 (Gem::Exception)
 from /usr/local/bin/rails:19</pre>
<p>Resolution: install the railties gem.</p>
<pre class="wp-code-highlight prettyprint">$ gem install railties
Successfully installed railties-3.2.3
1 gem installed
Installing ri documentation for railties-3.2.3...
Installing RDoc documentation for railties-3.2.3...</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.imarichardson.com/2012/05/10/ugh-cant-find-executable-rails-for-rails-3-x-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Code Woes: &#8220;undefined local variable or method `version_requirements&#8217;&#8221;</title>
		<link>http://www.imarichardson.com/2011/03/25/code-woes-undefined-local-variable-or-method-version_requirements/</link>
		<comments>http://www.imarichardson.com/2011/03/25/code-woes-undefined-local-variable-or-method-version_requirements/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 15:34:59 +0000</pubDate>
		<dc:creator>Saeed Richardson</dc:creator>
				<category><![CDATA[Code Woes]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[code woes]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>

		<guid isPermaLink="false">http://www.imarichardson.com/?p=19</guid>
		<description><![CDATA[Deciding to install rvm on my development laptop (because I need Ruby 1.9 to work with the latest release of SproutCore), I suddenly find myself receiving the dreaded &#8220;version_requirements&#8221; error when running a 2.3.x rails application. In all of its glory : undefined local variable or method `version_requirements' for #&#60;Rails::GemDependency:0x0000010095b248&#62; /Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:in `requirement' /Users/imarichardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:269:in `search' /Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/rails/vendor_gem_source_index.rb:119:in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/sybrenstuvel/2468506922/" title="Frustration (was: threesixtyfive | day 244) by Sybren A. Stüvel, on Flickr"><img src="http://farm3.static.flickr.com/2410/2468506922_c1ed495959_m.jpg" width="240" height="196" alt="Frustration (was: threesixtyfive | day 244)" /></a></p>
<p>Deciding to install rvm on my development laptop (because I need Ruby 1.9 to work with the latest release of SproutCore), I suddenly find myself receiving the dreaded &#8220;version_requirements&#8221; error when running a 2.3.x rails application. In all of its glory :</p>
<p><pre class="wp-code-highlight prettyprint">
undefined local variable or method `version_requirements' for #&lt;Rails::GemDependency:0x0000010095b248&gt;
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/rails/gem_dependency.rb:119:in `requirement'
/Users/imarichardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:269:in `search'
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/rails/vendor_gem_source_index.rb:119:in `search'
/Users/imarichardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:247:in `activate'
/Users/imarichardson/.rvm/rubies/ruby-1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems.rb:1276:in `gem'
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/rails/gem_dependency.rb:73:in `add_load_paths'
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/initializer.rb:301:in `block in add_gem_load_paths'
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/initializer.rb:301:in `each'
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/initializer.rb:301:in `add_gem_load_paths'
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/initializer.rb:132:in `process'
/Users/imarichardson/.rvm/gems/ruby-1.9.2-p180/gems/rails-2.3.5/lib/initializer.rb:113:in `run'
</pre>
</p>
<p>So through the power of Google I come upon <a href="http://excid3.com/blog/2011/02/undefined-local-variable-or-method-version_requirements-for-nameerror/" _mce_href="http://excid3.com/blog/2011/02/undefined-local-variable-or-method-version_requirements-for-nameerror/" style="">this post from Chris Oliver</a>, and just as I&#8217;m about to rollback my version of Ruby to a previous one, I check the <a href="https://gist.github.com/807008#gistcomment-20117" _mce_href="https://gist.github.com/807008#gistcomment-20117" style="">source</a> and see an even better solution in <a href="http://www.redmine.org/issues/7516#note-3">this discussion thread</a>. Instead of rolling back ruby gems and making everyone suffer, you can add a non-intrusive update to your environment.rb file. Add this block in right before the initialization and all will be well:</p>
<pre class="wp-code-highlight prettyprint">if Gem::VERSION &amp;gt;= &quot;1.3.6&quot;
    module Rails
        class GemDependency
            def requirement
                r = super
                (r == Gem::Requirement.default) ? nil : r
            end
        end
    end
end</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imarichardson.com/2011/03/25/code-woes-undefined-local-variable-or-method-version_requirements/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>jQuery P2PU Exercise 2 with Google Maps</title>
		<link>http://www.imarichardson.com/2011/02/09/jquery-p2pu-exercise-2-with-google-maps/</link>
		<comments>http://www.imarichardson.com/2011/02/09/jquery-p2pu-exercise-2-with-google-maps/#comments</comments>
		<pubDate>Wed, 09 Feb 2011 07:50:01 +0000</pubDate>
		<dc:creator>Saeed Richardson</dc:creator>
				<category><![CDATA[App Dev]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Google JSAPIs]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jsFiddle]]></category>

		<guid isPermaLink="false">http://www.imarichardson.com/?p=11</guid>
		<description><![CDATA[I had this really amazing plan to actually create a video of the process &#8211; first starting with a simple table, then displaying the Maps integration. But, it&#8217;s a bit late and I may need to wait a little later. For the second exercise, the charge was to iterate through a JSON formatted list of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-13" style="margin: 5px; padding: 5px; border: 1px solid black; border-color: #FFFFFF;" title="jQuery" src="http://www.imarichardson.com/wp-content/uploads/imarichardson_jquery_logo.png" alt="" width="279" height="103" /></p>
<p>I had this really amazing plan to actually create a video of the process &#8211; first starting with a simple table, then displaying the Maps integration. But, it&#8217;s a bit late and I may need to wait a little later.</p>
<p>For the <a href="http://p2pu.org/webcraft/jquery-love-dollar">second exercise</a>, the charge was to iterate through a JSON formatted list of students and to output the data into a table or some container of sorts in which you needed to iterate through the object. I figured I&#8217;d run it through the Google Maps API and display all the names on a map by City and State using the Lat/Lon values. Here&#8217;s my output from the exercise iterating through the array and ultimately loading the map. <a href="http://www.imarichardson.com/2011/02/08/google-jsapi-jsfiddle-relationship-problems/">Yesterday&#8217;s post</a> brought to the surface a couple of nuances in dealing with jsFiddle, so in getting things running be sure to take in account a few points of notice:</p>
<div class='one_half'>
					1. I setup jsFiddle so that no libraries were loaded automatically. So I chose the &#8220;no wrap (head) / No Library (pure js)&#8221; options for the library. This worked &#8230; auto-including the library did not work for me.
				</div>
<div class='one_half last'>
					2. I loaded the Google JSAPI directly into the page via the Manage Resources tab. In doing so I had to add the &#8220;fake=js&#8221; parameter to the url. (http://www.google.com/jsapi?fake=.js)
				</div><div class='clear'></div>
<p><iframe style="width: 100%; height: 300px" src="http://jsfiddle.net/imarichardson/YeWjy/embedded/"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imarichardson.com/2011/02/09/jquery-p2pu-exercise-2-with-google-maps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google JSAPI &amp; JSFiddle: relationship problems? Just a little miscommunication.</title>
		<link>http://www.imarichardson.com/2011/02/08/google-jsapi-jsfiddle-relationship-problems/</link>
		<comments>http://www.imarichardson.com/2011/02/08/google-jsapi-jsfiddle-relationship-problems/#comments</comments>
		<pubDate>Tue, 08 Feb 2011 09:58:19 +0000</pubDate>
		<dc:creator>Saeed Richardson</dc:creator>
				<category><![CDATA[App Dev]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Quirks]]></category>
		<category><![CDATA[Google JSAPIs]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[jsFiddle]]></category>
		<category><![CDATA[Ugh]]></category>

		<guid isPermaLink="false">http://www.imarichardson.com/?p=7</guid>
		<description><![CDATA[UPDATE 02/08/2011: It looks like this was caused by an issue of the order of the libraries. See the comments below. Looks like it&#8217;s just an issue with the loading of the libraries through jsFiddle. Also, for more info checkout the jsFiddle Google Group. Be certain to use the Google JSAPI with the &#8220;fake=.js&#8221; url [...]]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-9" href="http://www.imarichardson.com/2011/02/08/google-jsapi-jsfiddle-relationship-problems/imarichardson_jsfiddle_and_google_jsapi/"><img class="alignleft size-medium wp-image-9" style="margin: 5px; border: 1px solid black;" title="imarichardson_jsfiddle_and_google_jsapi" src="http://www.imarichardson.com/wp-content/uploads/imarichardson_jsfiddle_and_google_jsapi-300x185.png" alt="jsFiddle" width="300" height="185" /></a></p>
<blockquote style="background:lightyellow"><p><em><strong style="color: #000099"> UPDATE 02/08/2011</strong>: </p>
<ul>
<li>It looks like this was caused by an issue of the order of the libraries. See the comments below. Looks like it&#8217;s just an issue with the loading of the libraries through jsFiddle. Also, for more info checkout the <a style="color: blue" href="http://groups.google.co.uk/group/jsfiddle-users">jsFiddle Google Group</a>.<br/><br/>
</li>
<li>Be certain to use the Google JSAPI with the &#8220;fake=.js&#8221; url parameter (i.e., <astyle="color: blue"  href="http://www.google.com/jsapi?fake=.js">http://www.google.com/jsapi?fake=.js</a>) to make certain the library loads.<br/><br/>
</li>
<li>Thanks to the developer, Piotr Zalewa, for a quick response.</li>
</ul>
<p></em></p></blockquote>
<p>I&#8217;ve come to love <a href="http://jsfiddle.net">jsFiddle</a>. Although I heard about it some time ago I never really got around to doing anything with it until rather recently I joined an online community <a href="http://p2pu.org/webcraft/jquery-love-dollar">jQuery course with P2P</a>. (Interesting concept and definitely worth taking a look at.) So in doing so for a recent exercise I decided to use the Google Maps JS API for generating a map with markers for people retrieved form a JSON object. The problem I&#8217;m noticing is that the Google APIs don&#8217;t seem to work fluidly with jsFiddle.</p>
<p>First the &#8220;google&#8221; object could not be found when running the page. So, although it&#8217;s not ideal, I added it to the html section and the libraries loaded. But now I&#8217;m getting an error with the visualization object not being found. I think it&#8217;s an issue with jsFiddle at this time, as I&#8217;ve actually just copy/pasted the <a href="http://code.google.com/intl/en/apis/visualization/documentation/gallery/map.html" target="_blank">example from the Google Visualization library</a> and it still doesn&#8217;t work. I&#8217;m putting some feelers out to find out if there really is something going on or if I&#8217;m just going crazy in the process.</p>
<p><em>One last note, too: I highly suggest not using Chrome with jsFiddle, either. On two occasions Chrome just stopped interacting with the UI and I lost all my changes. Especially ugh since there&#8217;s not an autosave at this time.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.imarichardson.com/2011/02/08/google-jsapi-jsfiddle-relationship-problems/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Starting over again &#8230;</title>
		<link>http://www.imarichardson.com/2011/02/04/starting-over-again/</link>
		<comments>http://www.imarichardson.com/2011/02/04/starting-over-again/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 07:09:26 +0000</pubDate>
		<dc:creator>Saeed Richardson</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Ugh]]></category>

		<guid isPermaLink="false">http://www.imarichardson.com/?p=4</guid>
		<description><![CDATA[What do you do when you come to your site and realize that the last 6 years of data is no longer available and your site has been completely deleted from your web hosting provider? You start over again. Yes, that&#8217;s the story. So thank the web tubes that one can begin again, with new [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_5" class="wp-caption alignleft" style="width: 310px"><a href="http://www.sxc.hu/browse.phtml?f=view&amp;id=1133282" target="_blank"><img class="size-medium wp-image-5 " style="margin: 5px; border: 1px solid black;" title="Crisis" src="http://www.imarichardson.com/wp-content/uploads/deleted-300x220.jpg" alt="http://www.sxc.hu/browse.phtml?f=view&amp;id=1133282" width="300" height="220" /></a><p class="wp-caption-text">&quot;Crisis&quot; from pdsimao (http://sxc.hu)</p></div>
<p>What do you do when you come to your site and realize that the last 6 years of data is no longer available and your site has been completely deleted from your web hosting provider? You start over again.</p>
<p>Yes, that&#8217;s the story. So thank the web tubes that one can begin again, with new content, new news, and relevant &#8220;stuff&#8221; altogether. Besides, so much of the old info was outdated and irrelevant (or perhaps that&#8217;s what I&#8217;m saying to make myself feel better about loosing it all).</p>
<p>Oh well, welcome to the site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.imarichardson.com/2011/02/04/starting-over-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.652 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2012-05-18 21:32:13 -->

