<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>Gakuya-ura.net &#187; ソフトウェア</title>
	<atom:link href="http://gakuya-ura.net/archives/tag/%e3%82%bd%e3%83%95%e3%83%88%e3%82%a6%e3%82%a7%e3%82%a2/feed" rel="self" type="application/rss+xml" />
	<link>http://gakuya-ura.net</link>
	<description>がくやうら どっと ねっと</description>
	<lastBuildDate>Fri, 03 Feb 2012 07:15:11 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://gakuya-ura.net/archives/tag/%e3%82%bd%e3%83%95%e3%83%88%e3%82%a6%e3%82%a7%e3%82%a2/feed" />
		<item>
		<title>Subversionのこと</title>
		<link>http://gakuya-ura.net/archives/415</link>
		<comments>http://gakuya-ura.net/archives/415#comments</comments>
		<pubDate>Sat, 13 Feb 2010 14:59:17 +0000</pubDate>
		<dc:creator>gwakt</dc:creator>
				<category><![CDATA[ツール]]></category>
		<category><![CDATA[ソフトウェア]]></category>

		<guid isPermaLink="false">http://gakuya-ura.net/?p=415</guid>
		<description><![CDATA[2007年くらいから原稿のデータはSubversionで管理しています。 最初はTracと組み合わせて使っていたのですが、そっちは去年からRedmineに置き換えました。Redmineのほうが設定が楽だったのと、日本語の [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://gakuya-ura.net/wp-content/uploads/2010/02/img20100213s.jpg" rel="lightbox[415]"><img src="http://gakuya-ura.net/wp-content/uploads/2010/02/img20100213s-150x150.jpg" alt="" title="img20100213s" width="150" height="150" class="alignright size-thumbnail wp-image-416" /></a>2007年くらいから原稿のデータはSubversionで管理しています。<br />
最初はTracと組み合わせて使っていたのですが、そっちは去年からRedmineに置き換えました。Redmineのほうが設定が楽だったのと、日本語の扱いがいろいろ便利だったので。</p>
<p>ソフトウェア開発の仕事をしてる方には今さらな感じなのでしょうが、Subversionはバージョン管理システムと呼ばれているもののひとつで、プログラムのソースコードなどを管理する目的で使われているものです。</p>
<p>小説の原稿もプログラムと同様に、書いてる途中で内容を修正したり、別の展開を試したり、いちおう書き上げたけど推敲前の未完成版だったりと実はバージョンがいろいろあります。雑誌に掲載した原稿を単行本や文庫に収録する前に修正したりもします。<br />
Subversionはこれらの原稿の履歴を記録していて、ミスったときに前の状態に戻したり、どこをどうやって修正したのかあとから確認したり、という作業を可能にしてくれます。なんかもうね、これがすごい便利なんですわ。<br />
間違ってファイルを上書きしちゃったとか、修正したけど前のバージョンのほうがよかったとか、作業中のPCがぶっ飛んでデータが消えたとか、そういうミスがなくなったので作業効率がずいぶん上がった気がします。だからって、それだけで書いてるものが面白くなるわけじゃないのですが。</p>
<p><a href="http://gakuya-ura.net/wp-content/uploads/2010/02/img20100214s.jpg" rel="lightbox[415]"><img src="http://gakuya-ura.net/wp-content/uploads/2010/02/img20100214s-250x179.jpg" alt="比較画面" title="比較画面" width="250" height="179" class="alignleft size-medium wp-image-421" /></a>こんな感じで、修正前と修正後の内容を比較しながら作業できます。便利。</p>
<p>今のところ僕の周りでは聞いたことがないんですが、一部の出版社ではすでにSubversionを使って出版作業を行ってるんだとか（<a href="http://www.geekpage.jp/blog/?id=2008/1/16">参考</a>）。文芸やラノベ系の出版社でもそのうち同様のことが起きると思うのですが、まだちょっと動きが鈍い感じ。マンガのデジタル化みたいに、目に見えるメリットが少ないからですかね。</p>
<p>というわけで「Subversionすげえ、マジ便利！」と3年くらい前から知り合いの作家さんに会うたびに言いまくってたんですが、誰ひとり興味を示してくれなくて、ちょっと寂しい思いをしていたのでここに書いてみました。便利なのに。<br style="clear:both;"></p>
<p>GitやMercurialではなくSubversionを使ってるのは、OS Xにデフォルトで入ってるから、という理由が大きいです。〆切直前にハードディスクが吹っ飛んだりしても、新しいMacを買ってくれば即作業が再開できるという安心感が。あとは良いGUIのクライアントの有無とか。</p>
<p>以上、（おそらく誰も興味がないであろう）最近の執筆環境の話でした。</p>
]]></content:encoded>
			<wfw:commentRss>http://gakuya-ura.net/archives/415/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://gakuya-ura.net/archives/415" />
	</item>
		<item>
		<title>Redmineを0.8.7から0.9.2へバージョンアップ</title>
		<link>http://gakuya-ura.net/archives/382</link>
		<comments>http://gakuya-ura.net/archives/382#comments</comments>
		<pubDate>Wed, 10 Feb 2010 13:19:18 +0000</pubDate>
		<dc:creator>gwakt</dc:creator>
				<category><![CDATA[ツール]]></category>
		<category><![CDATA[ソフトウェア]]></category>

		<guid isPermaLink="false">http://gakuya-ura.net/?p=382</guid>
		<description><![CDATA[技術的な話なので、興味ない人にはごめんなさい。 仕事場で使っているRedmineを、0.8.7から0.9.2にバージョンアップしました。所要時間10分くらい。 環境はMacOS 10.6.2でrubyは1.8.7、rai [...]]]></description>
			<content:encoded><![CDATA[<p>技術的な話なので、興味ない人にはごめんなさい。</p>
<p>仕事場で使っているRedmineを、0.8.7から0.9.2にバージョンアップしました。所要時間10分くらい。<br />
環境はMacOS 10.6.2でrubyは1.8.7、railsは2.3.5。MacPortsは使わずに、OS標準のやつそのままです。</p>
<p>RubyForgeからredmine-0.9.2.tar.gzをダウンロードしてきて、あとは<a href="http://redmine.jp/guide/RedmineUpgrade">こちらの説明</a>に従うだけ、なのですが、</p>
<pre><code>rake db:migrate RAILS_ENV="production"</code></pre>
<p>を実行すると、</p>
<pre><code>rake aborted!
A key is required to write a cookie containing the session data. Use config.action_controller.session = { :key => "_myapp_session", :secret => "some secret phrase" } in config/environment.rb</code></pre>
<p>というエラーが。</p>
<p>インストール時のメモを頼りに、先にこいつを実行したあと、</p>
<pre><code>rake config/initializers/session_store.rb</code></pre>
<p>もう一度、</p>
<pre><code>rake db:migrate RAILS_ENV="production"</code></pre>
<p>を実行すると、無事にデータベースのマイグレーションが出来ました。</p>
<p>ここのところだけ軽くハマったので、メモ。</p>
<p>あとはApacheを再起動したら無事に動きました〜。<br />
……実はよくわかってないんですけどあってます？</p>
]]></content:encoded>
			<wfw:commentRss>http://gakuya-ura.net/archives/382/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://gakuya-ura.net/archives/382" />
	</item>
	</channel>
</rss>

