<?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>codebu.de</title>
	<atom:link href="http://codebu.de/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://codebu.de/blog</link>
	<description>computer science // ruby on rails // coding</description>
	<lastBuildDate>Sat, 26 Sep 2009 10:59:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Creating SVN repositories on my Ubuntu virtual server</title>
		<link>http://codebu.de/blog/2009/09/01/creating-svn-repositories-on-my-ubuntu-virtual-server/</link>
		<comments>http://codebu.de/blog/2009/09/01/creating-svn-repositories-on-my-ubuntu-virtual-server/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 15:30:38 +0000</pubDate>
		<dc:creator>Volker</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[SVN]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://codebu.de/blog/?p=40</guid>
		<description><![CDATA[If you&#8217;re developing applications you will need a versioning tool sooner or later, even if you&#8217;re not working in a team. Its backup functions and the ability to review any changes on your code is something you never want to miss again. Since it&#8217;s not too easy to set up an SVN repository, here&#8217;s a [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re developing applications you will need a versioning tool sooner or later, even if you&#8217;re not working in a team. Its backup functions and the ability to review any changes on your code is something you never want to miss again. Since it&#8217;s not too easy to set up an SVN repository, here&#8217;s a step-by-step tutorial how I did on my virtual server.  I basically followed <a title="Ubuntuusers wiki" href="http://wiki.ubuntuusers.de/Subversion" target="_blank">this german tutorial from the ubuntuusers.de wiki.</a></p>
<h3>Installing the necessary packages</h3>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> subversion libapache2-svn</pre></div></div>

<h3>Make directories for your repository</h3>
<p>The following is just an example, you can change your directory but remember to keep your directory through this tutorial.</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>myproject</pre></div></div>

<h3>Create repository via <em>svnadmin</em> tool</h3>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">svnadmin</span> create <span style="color: #660033;">--fs-type</span> fsfs <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>myproject</pre></div></div>

<h3>Change ownership of this directory to your default apache user</h3>
<p>By default this is www-data:www-data on Ubuntu</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> user:group <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>myproject</pre></div></div>

<h3>Optional: Setting permissions of the directory</h3>
<p>If you face a &#8220;permission denied&#8221; error when doing your initial import later, you have to change the permissions for this directory</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">775</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>myproject</pre></div></div>

<h3>Add a location to your dav_svn.conf</h3>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">vi</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>mods-enabled<span style="color: #000000; font-weight: bold;">/</span>dav_svn.conf</pre></div></div>

<p>and add the following entry:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;</span>Location <span style="color: #000000; font-weight: bold;">/</span>myproject<span style="color: #000000; font-weight: bold;">&gt;</span>
  DAV <span style="color: #c20cb9; font-weight: bold;">svn</span>
  SVNPath <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">svn</span><span style="color: #000000; font-weight: bold;">/</span>myproject
&nbsp;
 <span style="color: #666666; font-style: italic;"># Add this if you want committers to authenticate themselves</span>
  AuthType Basic
  AuthName <span style="color: #ff0000;">&quot;Subversion Repository&quot;</span>
  AuthUserFile <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>my.passwd
&nbsp;
  <span style="color: #666666; font-style: italic;"># The following three lines allow anonymous read, but make</span>
  <span style="color: #666666; font-style: italic;"># committers authenticate themselves.</span>
  <span style="color: #000000; font-weight: bold;">&lt;</span>LimitExcept GET PROPFIND OPTIONS REPORT<span style="color: #000000; font-weight: bold;">&gt;</span>
    Require valid-user
  <span style="color: #000000; font-weight: bold;">&lt;/</span>LimitExcept<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #000000; font-weight: bold;">&lt;/</span>Location<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<h3>Create a password file for commiters</h3>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">htpasswd2 <span style="color: #660033;">-c</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #000000; font-weight: bold;">/</span>dav_svn.passwd user</pre></div></div>

<h3>Restart your server</h3>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>apache2 restart</pre></div></div>

<p>Congratulations! Point your browser to http://yourserver.com/myproject and enjoy your SVN repository!</p>
]]></content:encoded>
			<wfw:commentRss>http://codebu.de/blog/2009/09/01/creating-svn-repositories-on-my-ubuntu-virtual-server/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Textmate-like colors for Aptana Radrails</title>
		<link>http://codebu.de/blog/2009/02/04/textmate-like-colors-for-aptana-radrails/</link>
		<comments>http://codebu.de/blog/2009/02/04/textmate-like-colors-for-aptana-radrails/#comments</comments>
		<pubDate>Wed, 04 Feb 2009 18:18:12 +0000</pubDate>
		<dc:creator>Volker</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[aptana]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://codebu.de/blog/?p=87</guid>
		<description><![CDATA[While watching Ryan Bates&#8217; railscasts, i learned to love the syntax highlighting of textmate (which seems to be the best IDE for developing rails apps). Though buying a mac is no solution for me   i found a nice theme for Aptanas RadRails (my favourite IDE) which does some really cool syntax highlighting in [...]]]></description>
			<content:encoded><![CDATA[<p>While watching <a href="http://railscasts.com" target="_blank">Ryan Bates&#8217; railscasts</a>, i learned to love the syntax highlighting of textmate (which seems to be the best IDE for developing rails apps). Though buying a mac is no solution for me <img src='http://codebu.de/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  i found a nice theme for Aptanas RadRails (my favourite IDE) which does some really cool syntax highlighting in textmate-style.</p>
<p><img class="size-full wp-image-92 alignnone" title="radrails" src="http://codebu.de/blog/wp-content/radrails.jpg" alt="radrails" width="320" height="200" /></p>
<p>You can download it from <a href="http://forums.aptana.com/viewtopic.php?f=20&amp;t=2214" target="_blank">here</a>.<br />
Btw: If you were expecting me to post more often, i apologize that i haven&#8217;t had much time in the last weeks. But i just finished my project for this semester last week and i have to take some exams in the next weeks. You&#8217;ll hear from me soon <img src='http://codebu.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://codebu.de/blog/2009/02/04/textmate-like-colors-for-aptana-radrails/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Windows Vista and &#8220;gem install mysql&#8221;</title>
		<link>http://codebu.de/blog/2009/01/24/windows-vista-and-gem-install-mysql/</link>
		<comments>http://codebu.de/blog/2009/01/24/windows-vista-and-gem-install-mysql/#comments</comments>
		<pubDate>Sat, 24 Jan 2009 17:20:32 +0000</pubDate>
		<dc:creator>Volker</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://codebu.de/blog/?p=79</guid>
		<description><![CDATA[I just got this message with Rails 2.2.2 and a MySQL 5.0.x DB on Windows Vista as i tried to rake db:create
The specified module could not be found. - c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so

After penetrating google for some time i found a solution that was working for me. All you have to do is to copy your libmySQL.dll from [...]]]></description>
			<content:encoded><![CDATA[<p>I just got this message with Rails 2.2.2 and a MySQL 5.0.x DB on Windows Vista as i tried to <code>rake db:create</code></p>
<p><code>The specified module could not be found. - c:/ruby/lib/ruby/gems/1.8/gems/mysql-2.7.3-x86-mswin32/ext/mysql.so<br />
</code></p>
<p>After penetrating google for some time i found <a href="http://www.sapphiresteel.com/Rails-2-2-and-MySQL-Problems" mce_href="http://www.sapphiresteel.com/Rails-2-2-and-MySQL-Problems" target="_blank">a solution that was working</a> for me. All you have to do is to copy your <b class="spip">libmySQL.dll</b><b> </b>from your MySQL bin directory to your ruby bin directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://codebu.de/blog/2009/01/24/windows-vista-and-gem-install-mysql/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>Getting started with Ruby/Ruby on Rails</title>
		<link>http://codebu.de/blog/2009/01/17/getting-started-with-rubyruby-on-rails/</link>
		<comments>http://codebu.de/blog/2009/01/17/getting-started-with-rubyruby-on-rails/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 19:38:18 +0000</pubDate>
		<dc:creator>Volker</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[getting started]]></category>
		<category><![CDATA[links]]></category>

		<guid isPermaLink="false">http://codebu.de/blog/?p=21</guid>
		<description><![CDATA[One of the best parts of learning Ruby/RoR is getting in touch with it. If you see it in action you instantly want to learn it and you can!
The best ways to learn Ruby:

Try Ruby in your browser!
Ruby for Kids
Why&#8217;s (Poignant) Guide to Ruby
The Pickaxe Book
Ruby Doc

The best ways to learn Ruby on Rails:

Get excited!
Railscasts [...]]]></description>
			<content:encoded><![CDATA[<p>One of the best parts of learning Ruby/RoR is getting in touch with it. If you see it in action you instantly want to learn it and you <strong><em>can</em></strong>!</p>
<h3>The best ways to learn Ruby:</h3>
<ul>
<li><a title="Try Ruby in your browser!" href="http://tryruby.hobix.com/" target="_blank">Try Ruby in your browser!</a></li>
<li><a title="Ruby for Kids" href="http://hacketyhack.net/" target="_blank">Ruby for Kids</a></li>
<li><a title="Why's (Poignant) Guide to Ruby" href="http://poignantguide.net/ruby/index.html" target="_blank">Why&#8217;s (Poignant) Guide to Ruby</a></li>
<li><a title="The Pickaxe Book" href="http://whytheluckystiff.net/ruby/pickaxe/" target="_blank">The Pickaxe Book</a></li>
<li><a title="Ruby Doc" href="http://ruby-doc.org/" target="_blank">Ruby Doc</a></li>
</ul>
<h3>The best ways to learn Ruby on Rails:</h3>
<ul>
<li><a title="Get excited!" href="http://media.rubyonrails.org/video/rails_blog_2.mov" target="_blank">Get excited!</a></li>
<li><a title="Railscasts by Ryan Bates" href="http://railscasts.com/" target="_blank">Railscasts by Ryan Bates</a></li>
<li><a title="The official Ruby on Rails guides" href="http://guides.rubyonrails.org/" target="_blank">The official Ruby on Rails guides</a></li>
<li><a title="Rails API" href="http://api.rubyonrails.org/" target="_blank">Rails API</a></li>
<li><a title="Rails Wiki" href="http://wiki.rubyonrails.org/rails" target="_blank">Rails Wiki</a></li>
<li><a title="The Ruby on Rails Link Library" href="http://labuschin.com/rails" target="_blank">The Ruby on Rails Link Library</a></li>
</ul>
<h3>The best books:</h3>
<p>It is important to read the newest books because rails is developing fast and so the ways how something is done change often &#8211; and are getting easier as well<br />
<em>english:<br />
</em></p>
<ul>
<li>The rails bible: <a title="Agile Web Development with Rails" href="http://pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition" target="_blank">Agile Web Development with Rails</a>, Third Edition is coming in march</li>
</ul>
<p><em>german:</em></p>
<ul>
<li>The newest (and best german) book: <a title="Rapid Web Development mit Ruby on Rails" href="http://www.amazon.de/Rapid-Web-Development-Ruby-Rails/dp/3446414983/ref=sr_1_2?ie=UTF8&amp;s=books&amp;qid=1232220259&amp;sr=1-2" target="_blank">Rapid Web Development mit Ruby on Rails</a></li>
</ul>
<p><em>german openbooks:</em></p>
<ul>
<li><em>Galileo Computing:</em> <a title="Ruby on Rails 2" href="http://openbook.galileocomputing.de/ruby_on_rails/index.htm#_top" target="_blank">Ruby on Rails 2</a></li>
<li><em>Oreilly:</em> <a title="Praxiswissen Ruby on Rails" href="http://www.oreilly.de/german/freebooks/rubyonrailsbasger/" target="_blank">Praxiswissen Ruby on Rails</a> (&lt; rails2)</li>
<li><em>Oreilly:</em> <a title="Rails Kochbuch" href="http://www.oreilly.de/german/freebooks/railsckbkger/" target="_blank">Rails Kochbuch</a> (&lt; rails2)</li>
</ul>
<p>Beware of old guides, links and tutorials, maybe things are done otherwise today than they&#8217;ve been some time ago!</p>
<h3>HowTos:</h3>
<ul>
<li><a title="Development environment on windows" href="http://www.railsinside.com/tutorials/210-setting-up-a-rails-development-environment-on-windows.html" target="_blank">How to setup a development environment on windows</a> (thanks to <a href="http://momo.brauchtman.net/" target="_blank">momo</a>)</li>
</ul>
<p>Want to contribute an important link? I&#8217;d love to see your comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://codebu.de/blog/2009/01/17/getting-started-with-rubyruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>80</slash:comments>
<enclosure url="http://media.rubyonrails.org/video/rails_blog_2.mov" length="49405864" type="video/quicktime" />
		</item>
		<item>
		<title>Done.</title>
		<link>http://codebu.de/blog/2009/01/15/es-ist-vollbracht/</link>
		<comments>http://codebu.de/blog/2009/01/15/es-ist-vollbracht/#comments</comments>
		<pubDate>Thu, 15 Jan 2009 19:46:45 +0000</pubDate>
		<dc:creator>Volker</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Me]]></category>

		<guid isPermaLink="false">http://codebu.de/blog/?p=12</guid>
		<description><![CDATA[After spending some hours with setting up and configuring my new virtual server, i finally got familiar with wordpress. It&#8217;s a neat tool  
This blog will contain all topics that caught my attention during my studies. The main topics will be Ruby on Rails, one of the most awesome web-frameworks ever invented. Especially because [...]]]></description>
			<content:encoded><![CDATA[<p>After spending some hours with setting up and configuring my new virtual server, i finally got familiar with wordpress. It&#8217;s a neat tool <img src='http://codebu.de/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>This blog will contain all topics that caught my attention during my studies. The main topics will be <a title="Ruby on Rails" href="http://rubyonrails.org/" target="_blank">Ruby on Rails</a>, one of the most awesome web-frameworks ever invented. Especially because my internship at <a title="IBM" href="http://de.ibm.com" target="_blank">IBM</a> in Böblingen with the topic &#8220;Application development with Ruby on Rails&#8221; starts this march.</p>
<p>The next days i&#8217;m going to write about the deployment of rails applications and setting up the server for rails development (e.g. svn).</p>
]]></content:encoded>
			<wfw:commentRss>http://codebu.de/blog/2009/01/15/es-ist-vollbracht/feed/</wfw:commentRss>
		<slash:comments>35</slash:comments>
		</item>
	</channel>
</rss>

