<?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>The House of Ding &#187; Rails</title>
	<atom:link href="http://www.houseofding.com/category/rails/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.houseofding.com</link>
	<description></description>
	<lastBuildDate>Thu, 05 Jan 2012 03:08:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>flashie.org – Ridiculously simple online flash cards</title>
		<link>http://www.houseofding.com/2010/11/flashie-org-ridiculously-simple-online-flash-cards/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=flashie-org-ridiculously-simple-online-flash-cards</link>
		<comments>http://www.houseofding.com/2010/11/flashie-org-ridiculously-simple-online-flash-cards/#comments</comments>
		<pubDate>Fri, 12 Nov 2010 19:27:53 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=372</guid>
		<description><![CDATA[Motivation I recently took a semester of Mandarin at the University of Minnesota. For an English speaker, learning Mandarin is challenging. Not only are you learning new words and grammar, but you’re also learning new characters. I’ve used flash cards in the past to learn foreign language vocabulary, but they didn’t seem to fit in [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://flashie.org/"><img src="http://www.houseofding.com/wp-content/uploads/2010/11/flashie-300x234.png" alt="" title="flashie" width="300" height="234" class="alignnone size-medium wp-image-373" /></a></p>
<h3>Motivation</h3>
<p>I recently took a semester of Mandarin at the University of Minnesota. For an English speaker, learning Mandarin is challenging. Not only are you learning new words and grammar, but you’re also learning new characters. I’ve used flash cards in the past to learn foreign language vocabulary, but they didn’t seem to fit in this case. Ideally, I’d have a flash card with three sides: a Chinese character, the Pinyin pronunciation, and the English translation.</p>
<p>With the two-sided limit of a physical flash card, I began exploring some of the free flash card web sites out there (there are TONS). I found none that would let me define more than two sides and most of them were clunky, confusing, and riddled with obnoxious ads. Ick.</p>
<p>Discouraged by what was available, I fired up the ol’ laptop and created a simple Rails app that gave me what I needed. After a couple of hours I had my <a href="http://flashie.org/users/chris/card_sets/4-chinese-vocabulary-lesson-1">three-sided flash cards</a> and easily aced all of my vocabulary tests (my wife still got a better grade than me though—grr).</p>
<h3>Flashie.org</h3>
<p>Since then, I’ve been playing with this Rails app and adding things here and there. I’ve added some animations, keyboard shortcuts and other fun features. In the hope that others will find this useful, I’ve wrapped some authentication around it and made it available at <a href="http://flashie.org/">http://flashie.org</a>.</p>
<p>So if you’re a student (or an educator) and find a use for Flashie, please give it a try. You only need to create an account to make card sets. Your friends and classmates, or your students, can view your public sets without registering or signing in.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2010/11/flashie-org-ridiculously-simple-online-flash-cards/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Ubuntu + Rails + Passenger + OCI8 = Sad</title>
		<link>http://www.houseofding.com/2009/05/ubuntu-rails-passenger-oci8-sad/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-rails-passenger-oci8-sad</link>
		<comments>http://www.houseofding.com/2009/05/ubuntu-rails-passenger-oci8-sad/#comments</comments>
		<pubDate>Thu, 21 May 2009 14:40:45 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[oci8]]></category>
		<category><![CDATA[passenger]]></category>

		<guid isPermaLink="false">http://www.houseofding.com/?p=199</guid>
		<description><![CDATA[LoadError (Oracle/OCI libraries could not be loaded: libclntsh.so.11.1: cannot open shared object file: No such file or directory — /usr/local/lib/site_ruby/1.8/i486-linux/oci8lib.so) Have you seen this error in your Rails application? Do you hate it as much as I do? I’ve spent the past two days troubleshooting this and I finally found a solution. It’s ugly and [...]]]></description>
			<content:encoded><![CDATA[<h3>LoadError (Oracle/OCI libraries could not be loaded: libclntsh.so.11.1: cannot open shared object file: No such file or directory — /usr/local/lib/site_ruby/1.8/i486-linux/oci8lib.so)</h3>
<p>Have you seen this error in your Rails application? Do you hate it as much as I do? I’ve spent the past two days troubleshooting this and I finally found a solution. It’s ugly and hacky, but it appears to be working.</p>
<p>There are actually quite a few posts out there regarding this error and they all get down to the root problem: the LD_LIBRARY_PATH environment variable is not available to the Apache user (www-data in this case). Most solutions I’ve found involve setting this variable in /etc/bash.bashrc or /etc/profile to make the variable available to all users. This fixed part of the problem for me, but it was still failing when executed from Apache via Passenger.</p>
<h3>The “solution”</h3>
<p>The hacktastic solution was to modify the /etc/init.d/apache2 startup script and explicitly set the LD_LIBRARY_PATH variable when Apache is started. Specifically, change </p>
<p><code>ENV="env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin"</code></p>
<p>to </p>
<p><code>ENV="env -i LANG=C PATH=/usr/local/bin:/usr/bin:/bin LD_LIBRARY_PATH=/opt/oracle/instantclient"</code></p>
<p>Note that this solution assumes you’re using the Oracle InstantClient; if you’re using the full Oracle client, you may try setting the ORACLE_HOME path instead of LD_LIBRARY_PATH.</p>
<p>I hope this helps somebody!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.houseofding.com/2009/05/ubuntu-rails-passenger-oci8-sad/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

