<?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>soohei.net</title>
	<atom:link href="http://soohei.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://soohei.net</link>
	<description>SOHEI KITADA</description>
	<lastBuildDate>Sun, 29 Apr 2012 07:17:53 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Rails 3.2.3 を Heroku で</title>
		<link>http://soohei.net/rails-3-2-3-heroku/</link>
		<comments>http://soohei.net/rails-3-2-3-heroku/#comments</comments>
		<pubDate>Fri, 27 Apr 2012 17:18:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=690</guid>
		<description><![CDATA[1. Rubyのバージョン確認 $ ruby -v ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0] Railsのバージョン確認 $ rai [...]]]></description>
			<content:encoded><![CDATA[<p><strong>1.</strong></p>
<p>Rubyのバージョン確認<br />
$ ruby -v<br />
ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.3.0]</p>
<p>Railsのバージョン確認<br />
$ rails -v<br />
Rails 3.2.3</p>
<p><em>参考: 【番外編】Ruby on Railsでのアプリ開発の基本 &#8211; Facebook開発者の為のサポートサイト | fb.developers&#8217;+<br />
</em><a href="http://fb.dev-plus.jp/column1/column1_ruby/"><em>http://fb.dev-plus.jp/column1/column1_ruby/</em></a></p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>2.</strong></p>
<p>LionのデフォルトのRubyは1.8.7 なので、<br />
1.9.3を使うために、RVMをインストール。</p>
<p>$ git clone &#8211;depth 1 git://github.com/wayneeseguin/rvm.git<br />
$ cd rvm<br />
$ ./install</p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>3.</strong></p>
<p>RVMを使うために、~/.bashrc に</p>
<p># RVM<br />
[ -s ${HOME}/.rvm/scripts/rvm ] &amp;&amp; source ${HOME}/.rvm/scripts/rvm</p>
<p>を追記。設定が完了したら、「$ source ~/.bashrc」か 再ログイン で設定を読み込む。</p>
<p>&nbsp;</p>
<p>$ rvm -v<br />
rvm 1.13.0 () by Wayne E. Seguin &lt;wayneeseguin@gmail.com&gt;, Michal Papis &lt;mpapis@gmail.com&gt; [https://rvm.io/]</p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>4.</strong></p>
<p>1.9.3をインストール<br />
$ rvm install 1.9.3</p>
<p>&nbsp;</p>
<p>インストールされているバージョンの一覧<br />
$ rvm list</p>
<p>&nbsp;</p>
<p>1.9.3を使用<br />
$ rvm use 1.9.3</p>
<p>&nbsp;</p>
<p>1.9.3を初期設定に<br />
$ rvm &#8211;default 1.9.3</p>
<p>&nbsp;</p>
<p>改めて、$ rvm list の結果</p>
<p>&#8211;<br />
rvm rubies<br />
ruby-1.9.2-p320 [ x86_64 ]<br />
=* ruby-1.9.3-p194 [ x86_64 ]</p>
<p># =&gt; &#8211; current<br />
# =* &#8211; current &amp;&amp; default<br />
#  * &#8211; default<br />
<strong>&#8211;</strong></p>
<p>&nbsp;</p>
<p><em>参考: Mac に rvm をインストールして 複数バージョンの Ruby を使う &#8211; hogehoge foobar Blog Style5<br />
</em><a href="http://d.hatena.ne.jp/mrgoofy33/20110518/1305649544"><em>http://d.hatena.ne.jp/mrgoofy33/20110518/1305649544</em></a></p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>5.</strong></p>
<p>その他、必要に応じて&#8230;</p>
<p>gemのインストール<br />
$ sudo port install rb-rubygem</p>
<p>railsのインストール<br />
$ gem install rails</p>
<p>バージョンの確認<br />
$ rails -v</p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>6.</strong></p>
<p>Railsアプリを作る場所へ移動<br />
$ cd</p>
<p>&nbsp;</p>
<p>アプリ「myapp」を作成<br />
$ rails new myapp</p>
<p>&nbsp;</p>
<p>アプリの中に移動<br />
$ cd myapp</p>
<p>&nbsp;</p>
<p>Herokuで動かすために<br />
「myapp/Gemfile」の</p>
<p>gem &#8216;sqlite3&#8242;</p>
<p>を</p>
<p>group :production do<br />
gem &#8216;pg&#8217;<br />
end<br />
group :development, :test do<br />
gem &#8216;sqlite3&#8242;<br />
end</p>
<p>に書き換える。</p>
<p>&nbsp;</p>
<p>ローカル環境の再インストール<br />
$ bundle install</p>
<p>&nbsp;</p>
<p><em>参考: </em><em>Rails 3.1 を Heroku (Cedar) にデプロイする – Rails 3.0 on Heroku Bamboo からの変更点 : : </em><em>lefthandz.org<a href="http://lefthandz.org/"><br />
</a><a href="http://aws.lefthandz.org/wordpress/2012/01/deploy-rails-3-1-on-heroku-cedar/ " target="_blank"><em>http://aws.lefthandz.org/wordpress/2012/01/deploy-rails-3-1-on-heroku-cedar/</em> </a></em></p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>7.</strong></p>
<p>データベースのテーブル作成<br />
$ rails g scaffold note body:text title:string<br />
$ rake db:migrate</p>
<p>&nbsp;</p>
<p>ローカルのRailsを起動<br />
$ rails s</p>
<p>http://localhost:3000/notes をチェック</p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>8.</strong></p>
<p>Herokuにログイン<br />
$ heroku login</p>
<p>&nbsp;</p>
<p>※パスワードを毎回聞かれなくするには<br />
公開鍵/秘密鍵の設定<br />
$ heroku keys:add</p>
<p>&nbsp;</p>
<p>参考: Ruby1.9.3 + Rails3.2.1セットアップ &#8211; I can&#8217;t change the world.<br />
<a href="http://change-the-world.heroku.com/19" target="_blank">http://change-the-world.heroku.com/19</a></p>
<p>&nbsp;</p>
<p>&#8212;&#8212;&#8211;</p>
<p><strong>9.</strong></p>
<p>Gitの管理下に<br />
$ git init</p>
<p>$ git add .<br />
$ git commit -m &#8220;init&#8221;</p>
<p>&nbsp;</p>
<p>Heroku上にアプリを作成<br />
$ heroku create &#8211;stack cedar<br />
or<br />
$ heroku create &#8211;stack cedar アプリ名</p>
<p>&nbsp;</p>
<p>Herokuにリリース<br />
$ git push heroku master<br />
$ heroku rake db:migrate<br />
$ heroku open</p>
<p>&nbsp;</p>
<p>http://アプリ名.herokuapp.com/notes で確認</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/rails-3-2-3-heroku/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GoGoLA</title>
		<link>http://soohei.net/gogolosangeles/</link>
		<comments>http://soohei.net/gogolosangeles/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 07:16:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=655</guid>
		<description><![CDATA[2012年4月の記録。 ・TD社に新メンバーが入りました。 (4/2) ここで簡単に紹介すると、大学の後輩の平瀬 (@chap_)です。 SFC卒業後に藝大大学院(映像研究科)で腕を磨いて、卒業のタイミングで合流です。  [...]]]></description>
			<content:encoded><![CDATA[<p>2012年4月の記録。</p>
<p><strong>・TD社に新メンバーが入りました。</strong> (4/2)</p>
<p>ここで簡単に紹介すると、大学の後輩の平瀬 (<a href="https://twitter.com/chap_" target="_blank">@chap_</a>)です。<br />
SFC卒業後に藝大大学院(映像研究科)で<a href="http://www.fnm.geidai.ac.jp/media-practice/" target="_blank">腕を磨いて</a>、卒業のタイミングで合流です。<br />
今後は色々なところに一緒に連れていきます。<br />
これで今までの3倍くらい仕事が出来そうです。</p>
<p>それと、4/21で独立からちょうど1年が経ちました。<br />
必死なうちに、会社になって事務所が出来ました。周囲のみなさまに感謝です。<br />
今年は、昨年の<br />
長野 (2年目で首位打者)<br />
澤村 (新人王)<br />
のような2人になりたいと思っています。よろしくお願いします。</p>
<p><a href="http://td-inc.jp/#members" target="_blank">http://td-inc.jp/#members</a></p>
<p>&nbsp;</p>
<p><strong>・岩井・檜垣夫妻が留学先のLAに旅立ちました。</strong> (4/17)</p>
<p>大学の研究室時代からずーっといい感じに近くにいた同級生2人です。<br />
今自分がやってることの下地と原動力はほぼこの2人のおかげです。<br />
ずっと背中を追いかけていたら海の向こうに行ってしまったので、<br />
追いかけて行こうと思っています。応援よろしくです。(twitter: <a href="https://twitter.com/tawashi5454_" target="_blank">@tawashi5454_</a>, <a href="https://twitter.com/mrkhgk" target="_blank">@mrkhgk</a>)</p>
<p>&nbsp;</p>
<p><span id="more-655"></span></p>
<p>&nbsp;</p>
<p><img class="alignnone size-full wp-image-657" title="20070812033442" src="http://soohei.net/wp/wp-content/uploads/2012/04/20070812033442.jpg" alt="" width="520" height="390" /><br />
(サマソニ07)</p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/gogolosangeles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>update 2012.02.19</title>
		<link>http://soohei.net/update-2012-02-19/</link>
		<comments>http://soohei.net/update-2012-02-19/#comments</comments>
		<pubDate>Sun, 19 Feb 2012 10:00:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Info]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=643</guid>
		<description><![CDATA[OLYMPUS OM-D INFOBAR C01 “Which Color Do You Like?” sakiyamiho.com]]></description>
			<content:encoded><![CDATA[<p><a href="http://td-inc.jp/olympus-om-d/" target="_blank"><img src="http://soohei.net/wp/wp-content/uploads/2012/02/omd_01.jpg" alt="" title="" width="520" height="368" class="alignnone size-full wp-image-646" /></a><br />
OLYMPUS OM-D</p>
<p><a href="http://td-inc.jp/infobar-c01-which-color-do-you-like/" target="_blank"><img src="http://soohei.net/wp/wp-content/uploads/2012/02/c01_which_01.jpg" alt="" title="" width="520" height="697" class="alignnone size-full wp-image-644" /></a><br />
INFOBAR C01 “Which Color Do You Like?”</p>
<p><a href="http://sakiyamiho.com/" target="_blank"><img src="http://soohei.net/wp/wp-content/uploads/2012/02/sakiyamiho.jpg" alt="" title="" width="520" height="365" class="alignnone size-full wp-image-645" /></a><br />
sakiyamiho.com</p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/update-2012-02-19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-D YOYOGI PARK OFFICE 2</title>
		<link>http://soohei.net/t-d-yoyogi-park-office-2/</link>
		<comments>http://soohei.net/t-d-yoyogi-park-office-2/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 15:23:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=630</guid>
		<description><![CDATA[自宅兼作業場からの移動完了。 図らずも全員グレイパーカーだった。 あねちゃん、chap、あべくんおつかれした。]]></description>
			<content:encoded><![CDATA[<p><img src="http://soohei.net/wp/wp-content/uploads/2012/01/627266192_272671-soohei-520x520.png" alt="" title="627266192_272671-soohei" width="520" height="520" class="alignnone size-medium wp-image-631" /></p>
<p><a href="http://soohei.net/update-2011-03-21/" title="update 2011.03.21">自宅兼作業場</a>からの移動完了。<br />
図らずも全員グレイパーカーだった。<br />
あねちゃん、chap、あべくんおつかれした。</p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/t-d-yoyogi-park-office-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>T-D YOYOGI PARK OFFICE</title>
		<link>http://soohei.net/t-d-yoyogi-park-office/</link>
		<comments>http://soohei.net/t-d-yoyogi-park-office/#comments</comments>
		<pubDate>Sat, 21 Jan 2012 08:00:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=618</guid>
		<description><![CDATA[22日、色々搬入 28日、荷物移動]]></description>
			<content:encoded><![CDATA[<p><a href="http://td-inc.jp"><img src="http://soohei.net/wp/wp-content/uploads/2012/01/5cb45b2a43f211e19e4a12313813ffc0_7-520x520.jpg" alt="" title="" width="520" height="520" class="alignnone size-medium wp-image-620" /><br />
</a></p>
<p>22日、色々搬入<br />
28日、荷物移動</p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/t-d-yoyogi-park-office/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>update 2012.01.19</title>
		<link>http://soohei.net/update-2012-01-19/</link>
		<comments>http://soohei.net/update-2012-01-19/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 16:00:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Info]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=623</guid>
		<description><![CDATA[INFOBAR C01 &#124; T-D inc.]]></description>
			<content:encoded><![CDATA[<p><a href="http://td-inc.jp/infobar-c01/" target="_blank">INFOBAR C01 | T-D inc.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/update-2012-01-19/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>update 2011.12.25</title>
		<link>http://soohei.net/update-2011-12-25/</link>
		<comments>http://soohei.net/update-2011-12-25/#comments</comments>
		<pubDate>Sat, 24 Dec 2011 15:00:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Info]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=535</guid>
		<description><![CDATA[Media Practice 11-12 &#124; T-D inc. GALAXY X&#8217;MAS CAFE &#124; T-D inc. T-D on Facebook T-D on Twitter]]></description>
			<content:encoded><![CDATA[<p><a href="http://td-inc.jp/?p=236">Media Practice 11-12 | T-D inc.</a></p>
<p><a href="http://td-inc.jp/galaxy-xmas-cafe">GALAXY X&#8217;MAS CAFE | T-D inc.</a></p>
<p><a href="https://www.facebook.com/pages/T-D-inc/213585815381240" target="_blank">T-D on Facebook</a></p>
<p><a href="https://twitter.com/td_inc/" target="_blank">T-D on Twitter</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/update-2011-12-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>update 2011.11.14</title>
		<link>http://soohei.net/update-2011-11-14/</link>
		<comments>http://soohei.net/update-2011-11-14/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 15:00:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Info]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=593</guid>
		<description><![CDATA[夜の乾杯!天気予報 presented by ウコンの力]]></description>
			<content:encoded><![CDATA[<p><a href="http://housefoods.jp/ukon/tenki/" target="_blank">夜の乾杯!天気予報 presented by ウコンの力</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/update-2011-11-14/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>update 2011.10.11</title>
		<link>http://soohei.net/update-2011-10-11/</link>
		<comments>http://soohei.net/update-2011-10-11/#comments</comments>
		<pubDate>Thu, 13 Oct 2011 15:00:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Info]]></category>

		<guid isPermaLink="false">http://soohei.net/blog/?p=538</guid>
		<description><![CDATA[T-D inc.]]></description>
			<content:encoded><![CDATA[<p><a href="http://td-inc.jp" title="T-D inc.">T-D inc.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/update-2011-10-11/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>update 2011.04.20</title>
		<link>http://soohei.net/update-2011-04-20/</link>
		<comments>http://soohei.net/update-2011-04-20/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 15:00:33 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diary]]></category>

		<guid isPermaLink="false">http://soohei.net/?p=583</guid>
		<description><![CDATA[3年間お世話になったTHAを退職しました。 本当にありがとうございました。 今後はフリーのWebデザイナー、エンジニアとして再始動します。]]></description>
			<content:encoded><![CDATA[<p><img src="http://soohei.net/blog/wp/wp-content/uploads/2011/04/IMG_0001-520x390.jpg" alt="" title="IMG_0001" width="520" height="390" class="alignnone size-medium wp-image-589" /></p>
<p>3年間お世話になったTHAを退職しました。<br />
本当にありがとうございました。 </p>
<p>今後はフリーのWebデザイナー、エンジニアとして再始動します。</p>
]]></content:encoded>
			<wfw:commentRss>http://soohei.net/update-2011-04-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

