<?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>halfdecent.net &#187; ruby</title>
	<atom:link href="http://halfdecent.net/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://halfdecent.net</link>
	<description>some personal argumentation</description>
	<lastBuildDate>Thu, 22 Dec 2011 12:21:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Installing Padrino on Ubuntu / Debian</title>
		<link>http://halfdecent.net/2010/08/20/installing-padrino-on-ubuntu-debian/</link>
		<comments>http://halfdecent.net/2010/08/20/installing-padrino-on-ubuntu-debian/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 21:39:31 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://halfdecent.net/?p=175</guid>
		<description><![CDATA[I&#8217;ve been tinkering with Padrino this week. Padrino is a ruby web framework built on top of the delightful sinatra microframework. I found it attractive because it appears to have a simple design, as you&#8217;d expect of something built on &#8230; <a href="http://halfdecent.net/2010/08/20/installing-padrino-on-ubuntu-debian/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone" title="Padrino logo" src="http://www.padrinorb.com/images/padrino.jpg" alt="" width="256" height="100" /></p>
<p>I&#8217;ve been tinkering with <a href="http://www.padrinorb.com">Padrino</a> this week. Padrino is a ruby web framework built on top of the delightful <a href="http://www.sinatrarb.com">sinatra microframework</a>. I found it attractive because</p>
<ul>
<li>it appears to have a simple design, as you&#8217;d expect of something built on top of sinatra,</li>
<li>it rolls in the various elements that you&#8217;d expect for a fully fledged web framework (i.e. orm, database, mailer) but makes no commitments to the particular modules used for each *</li>
<li>it had a default Admin interface (which is a huge win for Django IMO).</li>
</ul>
<p>There&#8217;s quite a bit of supporting material on the web, but my impression after a few hours is that it&#8217;s still pretty beta and has a strong leaning towards RHEL linux. So this post details the steps I had to take to be able to work through the <a href="http://www.padrinorb.com/guides/basic-projects">basic project guide</a> with Ubuntu Lucid Lynx.<span id="more-175"></span></p>
<p>For starters I couldnt use Ubuntu&#8217;s default version of rubygems, so I uninstalled it and installed the latest. This allowed me to apparently install the framework but there were still several hidden dependencies to uncover before I could walk through the guide.</p>
<p>I was able to generate a project but found lots of errors pointing to missing gems when I tried to create the in-built admin application. I found I had to install: rake, haml, rack-flash, thin, activerecord, sqlite3-ruby and datamapper gems and for sqlite3-ruby I needed libsqlite3-ruby and libsqlite3-dev via apt-get.</p>
<p>With these installed, when I attempted to create an admin app I wasnt getting errors, but it wasnt working:</p>
<p>me@laptop:~/padrino/first_go$ padrino g admin<br />
=&gt; Located unlocked Gemfile for development<br />
Please specify generator to use (project, app, mailer, controller, model, migration)</p>
<p>Fortunately, <a href="http://groups.google.com/group/padrino/browse_thread/thread/74734c44c8a421b6">someone else had got there first.</a> Installing libssl-dev and libopenssl-ruby through apt-get allowed me to generate an admin app.  It&#8217;s cute and I&#8217;m able to do everything I&#8217;ve tried so far.  I&#8217;m still getting &#8220;=&gt; Located unlocked Gemfile for development&#8221; messages when I interact with padrino which suggests something is up, but I haven&#8217;t worked out what it is yet or whether it&#8217;s something I need to worry about.</p>
<p>* it remains to see if this approach is successful. It could be that maintaining agnosticism towards the various modules means that the API becomes too hard to use, but it&#8217;s certainly interesting to watch them give this a go.</p>
]]></content:encoded>
			<wfw:commentRss>http://halfdecent.net/2010/08/20/installing-padrino-on-ubuntu-debian/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You lied to me when you said this was a program</title>
		<link>http://halfdecent.net/2007/06/15/you-lied-to-me/</link>
		<comments>http://halfdecent.net/2007/06/15/you-lied-to-me/#comments</comments>
		<pubDate>Fri, 15 Jun 2007 08:57:30 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://halfdecent.net/?p=7</guid>
		<description><![CDATA[A Dutch colleague introduced me to plasmasturm.org a while ago &#8211; an excellent software engineering resource. I hadnt noticed it before* but today I was most tickled by a quote he has on his code page: A friend of mine &#8230; <a href="http://halfdecent.net/2007/06/15/you-lied-to-me/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A Dutch colleague introduced me to <a href="http://plasmasturm.org/">plasmasturm.org</a> a while ago &#8211; an excellent software engineering resource.    I hadnt noticed it before* but today I was most tickled by a quote he has on his code page:</p>
<p><cite>A friend of mine in a compiler writing class produced a compiler with one error message ‘you lied to me when you told me this was a program’</cite></p>
<p>see <a href="http://plasmasturm.org/code/">plasmasturm.org/code.</a></p>
<p>* Maybe I did notice it before and didnt get it.  Since I first looked at that site I&#8217;ve done some work with the <a href="http://i.loveruby.net/en/projects/racc/">RACC</a>, <a href="http://web.cecs.pdx.edu/~mpj/jacc/index.html">JACC</a> and <a href="https://javacc.dev.java.net/">JavaCC</a> compiler compilers (of the two Java compiler compilers, I prefer JavaCC).</p>
]]></content:encoded>
			<wfw:commentRss>http://halfdecent.net/2007/06/15/you-lied-to-me/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

