<?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>CATLET</title>
	<atom:link href="http://catlet.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://catlet.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 30 Sep 2011 17:39:55 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Rails3.1でSQLite3のエラー</title>
		<link>http://catlet.com/2011/10/01/rails3-1%e3%81%a7sqlite3%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc/</link>
		<comments>http://catlet.com/2011/10/01/rails3-1%e3%81%a7sqlite3%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc/#comments</comments>
		<pubDate>Fri, 30 Sep 2011 17:39:55 +0000</pubDate>
		<dc:creator>satoruk</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[SQLite]]></category>

		<guid isPermaLink="false">http://catlet.com/?p=84</guid>
		<description><![CDATA[丁度案件が一段落ついたのでサーバの整備. 折角なので色々入れ替えで同じサーバでRedmine(Rails2.3)やらRails3.1を入れておきたいのでRVMを利用して他の環境に依存しないように構築したい. っで作業中に &#8230; <a href="http://catlet.com/2011/10/01/rails3-1%e3%81%a7sqlite3%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>丁度案件が一段落ついたのでサーバの整備.<br />
折角なので色々入れ替えで同じサーバでRedmine(Rails2.3)やらRails3.1を入れておきたいのでRVMを利用して他の環境に依存しないように構築したい.</p>
<p>っで作業中にマイグレーションの実行でコケた.</p>
<p>主な環境</p>
<ul>
<li>CentOS release 5.3 (Final)</li>
<li>Ruby 1.9.2p312</li>
<li>SQLite 3.7.8(元々はyum経由でsqlite.x86_64 3.3.6)</li>
</ul>
<p>失敗したシンボルが無いとか出てるけどおっかしーなー</p>
<pre>-bash-3.2$ rake db:migrate /usr/local/rvm/rubies/ruby-1.9.2-head/bin/ruby: symbol lookup error: /usr/local/rvm/gems/ruby-1.9.2-head/gems/sqlite3-1.3.4/lib/sqlite3/sqlite3_native.so: undefined symbol: sqlite3_open_v2</pre>
<p>SQLite3は最新だしシンボルは無いという事はなさそうだ.</p>
<pre>-bash-3.2$ sqlite3 -version
3.7.8 2011-09-19 14:49:19 3e0da808d2f5b4d12046e05980ca04578f581177</pre>
<p>sqlite3_native.soの構成を確認してみと/usr/lib64の方の共有オブジェクトを利用してんな</p>
<pre>-bash-3.2$ ldd sqlite3_native.so
	libruby.so.1.9 =&gt; /usr/local/rvm/rubies/ruby-1.9.2-head/lib/libruby.so.1.9 (0x00002b3850a3f000)
	libsqlite3.so.0 =&gt; /usr/lib64/libsqlite3.so.0 (0x00002b3850e5b000)
	libpthread.so.0 =&gt; /lib64/libpthread.so.0 (0x00002b38510b6000)
	librt.so.1 =&gt; /lib64/librt.so.1 (0x00002b38512d2000)
	libdl.so.2 =&gt; /lib64/libdl.so.2 (0x00002b38514db000)
	libcrypt.so.1 =&gt; /lib64/libcrypt.so.1 (0x00002b38516df000)
	libm.so.6 =&gt; /lib64/libm.so.6 (0x00002b3851918000)
	libc.so.6 =&gt; /lib64/libc.so.6 (0x00002b3851b9b000)
	/lib64/ld-linux-x86-64.so.2 (0x00002b385061a000)</pre>
<p>色々調べてたらgemのsqlite3に入ってるREADME.rdocにヒントがあった.<br />
古い方のライブラリを見ている様だったので、オプションで切り替えれば解決しそうな気がする.</p>
<pre>If you have sqlite3 installed in a non-standard location, you can specify the location of the include and lib files by doing:

  gem install sqlite3 -- --with-sqlite3-include=/opt/local/include \
     --with-sqlite3-lib=/opt/local/lib</pre>
<p>で以下の様にオプションで切り替えてインストールし直してみた.</p>
<pre>gem install sqlite3 -- --with-sqlite3-include=/usr/local/include --with-sqlite3-lib=/usr/local/lib</pre>
<p>無事にインストールできたのでマイグレーションを再実行してみた.</p>
<pre>rake db:migrate</pre>
<p>期待通り正常に実行できた！</p>
<p>これでやっと次の作業にすすめるv</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://catlet.com/2011/10/01/rails3-1%e3%81%a7sqlite3%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc/&via=satoruk&text=Rails3.1でSQLite3のエラー&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://catlet.com/2011/10/01/rails3-1%e3%81%a7sqlite3%e3%81%ae%e3%82%a8%e3%83%a9%e3%83%bc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>サンディングしてみたら悪化しました</title>
		<link>http://catlet.com/2011/08/22/%e3%82%b5%e3%83%b3%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%82%89%e6%82%aa%e5%8c%96%e3%81%97%e3%81%be%e3%81%97%e3%81%9f/</link>
		<comments>http://catlet.com/2011/08/22/%e3%82%b5%e3%83%b3%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%82%89%e6%82%aa%e5%8c%96%e3%81%97%e3%81%be%e3%81%97%e3%81%9f/#comments</comments>
		<pubDate>Sun, 21 Aug 2011 15:14:34 +0000</pubDate>
		<dc:creator>satoruk</dc:creator>
				<category><![CDATA[Biketrial]]></category>
		<category><![CDATA[物欲]]></category>

		<guid isPermaLink="false">http://catlet.com/?p=64</guid>
		<description><![CDATA[最近、土日が天気悪くてトラ練が気持ちよくできない！ 雨が直接の原因じゃなくて、リムが濡れるとブレーキの効きが悪い！ っで先週サンディングに挑戦してみてその日のうちにトラ練してきましたが&#8230; 天気が良いのに効きが &#8230; <a href="http://catlet.com/2011/08/22/%e3%82%b5%e3%83%b3%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%82%89%e6%82%aa%e5%8c%96%e3%81%97%e3%81%be%e3%81%97%e3%81%9f/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>最近、土日が天気悪くてトラ練が気持ちよくできない！<br />
雨が直接の原因じゃなくて、リムが濡れると<strong>ブレーキの効きが悪い</strong>！</p>
<p>っで先週サンディングに挑戦してみてその日のうちにトラ練してきましたが&#8230;<br />
天気が良いのに効きが悪ーーーい！で今週もさらに荒くリムを削って雨の中練習してみたら</p>
<p>さらにブレーキの効きが悪い！悪い！</p>
<p>ブレーキはトライアルのリムブレーキの定番 MAGURA HS33 を使ってるけどブレーキシューは付属品のものを使っていました.</p>
<p>サンディングのお陰で鬼の様なシューの減り具合もあって、いい機会なのでいいブレーキシューを発注してみました.</p>
<p>注文したのは<a title="TNN Engineering" href="http://tnnengineering.com/" target="_blank">TNN Engineering</a>の Belaey PRO とそのスペア、それとついでにSIXSIXONEのシンガードも発注.</p>
<p>これでブレーキの心配が無くなればいいんだけどなー.</p>
<p>海外通販の郵送にしてるから届くのは何時になる事やら(^ ^)</p>
<p><a title="Amazon で商品の詳細を確認する" href="http://www.amazon.co.jp/SIXSIXONE-EVO-KNEE-L%E3%82%B5%E3%82%A4%E3%82%BA/dp/B0040FX8VE%3FSubscriptionId%3D16ES44BHGEC4QQ6VYA82%26tag%3Dcatletcom-22%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB0040FX8VE"><img src="http://ecx.images-amazon.com/images/I/31OCESpIcOL._SL75_.jpg" alt="SIXSIXONE EVO KNEE　Lサイズ" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://catlet.com/2011/08/22/%e3%82%b5%e3%83%b3%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%82%89%e6%82%aa%e5%8c%96%e3%81%97%e3%81%be%e3%81%97%e3%81%9f/&via=satoruk&text=サンディングしてみたら悪化しました&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://catlet.com/2011/08/22/%e3%82%b5%e3%83%b3%e3%83%87%e3%82%a3%e3%83%b3%e3%82%b0%e3%81%97%e3%81%a6%e3%81%bf%e3%81%9f%e3%82%89%e6%82%aa%e5%8c%96%e3%81%97%e3%81%be%e3%81%97%e3%81%9f/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>寝違えてトラ練</title>
		<link>http://catlet.com/2011/06/21/31/</link>
		<comments>http://catlet.com/2011/06/21/31/#comments</comments>
		<pubDate>Tue, 21 Jun 2011 11:09:21 +0000</pubDate>
		<dc:creator>satoruk</dc:creator>
				<category><![CDATA[Biketrial]]></category>
		<category><![CDATA[練習]]></category>

		<guid isPermaLink="false">http://catlet.com/?p=31</guid>
		<description><![CDATA[日曜日にトラ練行って来ました. 午前中から小山の島田橋で練習だったけど、午後から行ってみる北関東メンバー以外も来てました！ 合同練習だったんですねー 知りませんでした. しかも寝違えて首が軽く痛い（−＿−；） 今回は結構 &#8230; <a href="http://catlet.com/2011/06/21/31/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>日曜日にトラ練行って来ました.<br />
午前中から小山の島田橋で練習だったけど、午後から行ってみる北関東メンバー以外も来てました！</p>
<p>合同練習だったんですねー<br />
知りませんでした.<br />
しかも寝違えて首が軽く痛い（−＿−；）</p>
<p>今回は結構な人数で午前中に上がったメンバーも居たみたいですが、モトトライアルが3,4人に対してバイクトライアルが10人程！仲間が多い事はいいコトだ！</p>
<p>行くと既にセクションがあったんで早速挑戦！</p>
<p>そして</p>
<p>首が<strong>ピキーーーン</strong>と激痛が！<br />
寝違えてが悪化しました(￣◇￣;)</p>
<p>遅刻して来た罰ですね.<br />
しばらく見学して練習に加わりました、ウェッジと高めのステアを助走を付けて上がる練習をメインに練習しました.</p>
<p><a href="http://catlet.com/2011/06/21/31/"><em>Click here to view the embedded video.</em></a></p>
<p>今回、初顔合わせの9ヶ月でさほど自分と変わらないトライアル歴の田中君が上手いので、真似たり普段の練習方法を聞いて来ました. パクらせてもらいます！</p>
<p>練習自体は消化不良気味でしたが、収穫有りの練習会でした！</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://catlet.com/2011/06/21/31/&via=satoruk&text=寝違えてトラ練&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://catlet.com/2011/06/21/31/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ビデオカメラの大容量バッテリー買ったどー！</title>
		<link>http://catlet.com/2011/06/19/18/</link>
		<comments>http://catlet.com/2011/06/19/18/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 15:21:17 +0000</pubDate>
		<dc:creator>satoruk</dc:creator>
				<category><![CDATA[物欲]]></category>
		<category><![CDATA[GZ-HM670]]></category>
		<category><![CDATA[ビデオカメラ]]></category>

		<guid isPermaLink="false">http://catlet.com/?p=18</guid>
		<description><![CDATA[先月くらいに買ったビデオカメラ(JVC Everio GZ-HM670)のバッテリーが一日持たないので追加でバッテリー(BN-VG138)を購入！ ヤフオクで9,500円で落札して送料、振込手数料諸々で1万円以内て購入！ &#8230; <a href="http://catlet.com/2011/06/19/18/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://catlet.com/wp-content/uploads/20110619-120411.jpg"><img class="alignnone size-full" src="http://catlet.com/wp-content/uploads/20110619-120411.jpg" alt="20110619-120411.jpg" /></a></p>
<p>先月くらいに買ったビデオカメラ(JVC Everio GZ-HM670)のバッテリーが一日持たないので追加でバッテリー(BN-VG138)を購入！</p>
<p>ヤフオクで9,500円で落札して送料、振込手数料諸々で1万円以内て購入！</p>
<p>充電後、確認してみると残量320分と出てた！<br />
ビデオカメラに付属してたバッテリーが120分だったので倍以上だ</p>
<p>5時間以上も撮り続けないが用途はバイクトライアルの技のフォームチェックなので録画しては再生を繰り返すので一日練習に行く時は長時間使える方が有難い！</p>
<p>にしても、バッテリーデカ過ぎだ！ビジュアルが明らかに変w<br />
しかも持ちにくい</p>
<p>元は下の写真だったのに飛び出し過ぎだw</p>
<p><a href="http://catlet.com/wp-content/uploads/20110619-120354.jpg"><img class="alignnone size-full" src="http://catlet.com/wp-content/uploads/20110619-120354.jpg" alt="20110619-120354.jpg" /></a></p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://catlet.com/2011/06/19/18/&via=satoruk&text=ビデオカメラの大容量バッテリー買ったどー！&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://catlet.com/2011/06/19/18/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iTunesカード大人買い！</title>
		<link>http://catlet.com/2011/06/16/itunes%e3%82%ab%e3%83%bc%e3%83%89%e5%a4%a7%e4%ba%ba%e8%b2%b7%e3%81%84%ef%bc%81/</link>
		<comments>http://catlet.com/2011/06/16/itunes%e3%82%ab%e3%83%bc%e3%83%89%e5%a4%a7%e4%ba%ba%e8%b2%b7%e3%81%84%ef%bc%81/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 01:23:20 +0000</pubDate>
		<dc:creator>satoruk</dc:creator>
				<category><![CDATA[物欲]]></category>
		<category><![CDATA[Apple]]></category>

		<guid isPermaLink="false">http://catlet.com/?p=9</guid>
		<description><![CDATA[一昨日、ヨドバシカメラAKIBA店で12枚27,000円分を大人買いして来ました！ 知り合いからビックカメラで3枚買うと3枚目が半額になるキャンペーンを聞いたので調べて見ると ヨドバシカメラ、ビックカメラで同キャンペーン &#8230; <a href="http://catlet.com/2011/06/16/itunes%e3%82%ab%e3%83%bc%e3%83%89%e5%a4%a7%e4%ba%ba%e8%b2%b7%e3%81%84%ef%bc%81/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://catlet.com/wp-content/uploads/20110616-143426.jpg"><img class="alignnone size-full" src="http://catlet.com/wp-content/uploads/20110616-143426.jpg" alt="20110616-143426.jpg" /></a></p>
<p>一昨日、ヨドバシカメラAKIBA店で12枚27,000円分を大人買いして来ました！</p>
<p>知り合いからビックカメラで3枚買うと3枚目が半額になるキャンペーンを聞いたので調べて見ると</p>
<p><span style="color: #ff0000;"><strong>ヨドバシカメラ、ビックカメラで同キャンペーンが6月末までやってるじゃなイカ！</strong></span></p>
<p>サンクスのカルワザクラブも3,000のカードが2,600になるキャンペーンがあるが割引率を計算機してみると</p>
<p><strong>(ヨドバシ|ビック)カメラのキャンペーン</strong><br />
1,500/(3,000*3)=<span style="color: #ff0000;">0.1667</span><br />
3,000円分のカードが<span style="color: #ff0000;">2,500円</span></p>
<p><strong>サンクスのカルワザクラブ</strong><br />
400/3000=<span style="color: #ff0000;">0.1333</span><br />
3,000円分のカードが<span style="color: #ff0000;">2,600円</span></p>
<p>(ヨドバシ|ビック)カメラのキャンペーンの方が断然お得！</p>
<p>上限は1人3万円なので2.7万円分購入</p>
<p>会計で気がついたのは</p>
<ul>
<li>ポイントカードのポイントは付かない</li>
<li>会計は3枚ずつなので店員が苦労する</li>
</ul>
<p>来月にはOS X LionもApp Storeから出るし何だかんだてiTunesカードは重宝しそう！</p>
<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://catlet.com/2011/06/16/itunes%e3%82%ab%e3%83%bc%e3%83%89%e5%a4%a7%e4%ba%ba%e8%b2%b7%e3%81%84%ef%bc%81/&via=satoruk&text=iTunesカード大人買い！&related=:&lang=en&count=horizontal" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div>]]></content:encoded>
			<wfw:commentRss>http://catlet.com/2011/06/16/itunes%e3%82%ab%e3%83%bc%e3%83%89%e5%a4%a7%e4%ba%ba%e8%b2%b7%e3%81%84%ef%bc%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

