<?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>The Irish Penguin &#187; install</title>
	<atom:link href="http://www.theirishpenguin.com/tag/install/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theirishpenguin.com</link>
	<description>Watching Open Source unfold across Ireland</description>
	<lastBuildDate>Mon, 02 Jan 2012 17:26:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Bundler installing gems into the wrong directory &#8211; mea culpa</title>
		<link>http://www.theirishpenguin.com/2011/03/05/bundler-installing-gems-into-the-wrong-directory-mea-culpa/</link>
		<comments>http://www.theirishpenguin.com/2011/03/05/bundler-installing-gems-into-the-wrong-directory-mea-culpa/#comments</comments>
		<pubDate>Sat, 05 Mar 2011 10:44:15 +0000</pubDate>
		<dc:creator>theirishpenguin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[RubyIreland]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[bundler]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://www.theirishpenguin.com/?p=1033</guid>
		<description><![CDATA[So I spent an hour and a half last night unfairly swearing at the spork gem; and blaming it for everything from world hunger to banking crises! This is because somehow when installing spork I had managed to change the location that bundler installs gems into - strangely enough into a directory called ./spork under [...]]]></description>
			<content:encoded><![CDATA[<p>So I spent an hour and a half last night unfairly swearing at the spork gem; and blaming it for everything from world hunger to banking crises! This is because somehow when installing spork I had managed to change the location that bundler installs gems into - strangely enough into a directory called ./spork under my project directory. And I figured the blame landed at the door of the spork gem. Here's what happened just so that you don't get caught out.</p>
<p>Once installed, here's how you start up spork: bundle exec spork</p>
<p>But, at some point, here's what I did by accident: bundle <strong>install</strong> spork</p>
<p>Fool! Fool! Fool! For those of you that aren't familiar with the 'path' argument to bundler, well, what it does is permanently change your path to the value you specify. So for an hour and a half last night, I had ./spork set as my gem directory. Meaning that my furious efforts to correct the problem were in vain - such as clearing out all the gems and reinstalling, grepping for a config file that could be pointing at ./spork in my project and rvm directories.</p>
<p>What I should have done to fix this problem immediately, was to tell bundler to use my standard rvm directory for gems again</p>
<p><code>bundle install --system</code></p>
<p>Ta da!</p>
<p>It's pretty confusing that specifying a path argument <i>once off</i> should cause bundler to change it behaviour on a <strong>permanent</strong> basis but at least I notice that in the docs it says</p>
<p><code>The path argument to 'bundle install' is deprecated. It will be removed in version 1.1. Please use 'bundle install --path spork' instead.</code></p>
<p>So I guess I'm not the only one who's hit this confusing behaviour. Long live the <code>--path</code> option!</p>
<p>Sorry spork, I'm a dork...</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theirishpenguin.com/2011/03/05/bundler-installing-gems-into-the-wrong-directory-mea-culpa/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Installing Ruby on Rails on MeeGo with SQLite</title>
		<link>http://www.theirishpenguin.com/2010/11/20/installing-ruby-on-rails-on-meego-with-sqlite/</link>
		<comments>http://www.theirishpenguin.com/2010/11/20/installing-ruby-on-rails-on-meego-with-sqlite/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 13:14:50 +0000</pubDate>
		<dc:creator>theirishpenguin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[RubyIreland]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[meego]]></category>
		<category><![CDATA[qt]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.theirishpenguin.com/?p=987</guid>
		<description><![CDATA[This post will go through installing Ruby on Rails 2.3.2 on MeeGo - though it should likely work for any version of Rails, including Rails 3 (though the actual Rails commands at the end of this guide will be a little different). Firstly go through the Installing Ruby and Rubygems on MeeGo guide to get [...]]]></description>
			<content:encoded><![CDATA[<p>This post will go through installing Ruby on Rails 2.3.2 on MeeGo - though it should likely work for any version of Rails, including Rails 3 (though the actual Rails commands at the end of this guide will be a little different). Firstly go through the <a title="Installing Ruby on Rails on MeeGo" href="http://www.theirishpenguin.com/2010/11/18/installing-ruby-and-rubygems-on-meego/">Installing Ruby and Rubygems on MeeGo</a> guide to get at least Ruby 1.8.7 on your system and then carry out the following steps.</p>
<p>PRE-REQUISITES</p>
<p>* The above guide requires you to disable the core repository and then enable the devel and testing repositories. I found that when following the below steps, I would get an error trying to install sqlite3 gem itself - saying that the sqlite3.h header could not be found. I had to run the following commands first</p>
<p># Update all packages on the system</p>
<p>sudo zypper update</p>
<p># Then the chrome browser would not work saying</p>
<blockquote>
<div id="_mcePaste">[declan@declan-desktop grr]$ chromium-browser</div>
<div id="_mcePaste">/usr/lib/chromium-browser/chromium-browser: error while loading shared libraries: libicuuc.so.42: cannot open shared object file: No such file or directory</div>
</blockquote>
<p># To fix this, I had to update chromium-browser separately</p>
<p>sudo zypper update chromium</p>
<p>Ok, so onto the actual install steps for Rails and SQLite3...</p>
<p>RAILS INSTALLATION</p>
<p>#Install ruby and sqlite development headers (as we'll be using sqlite as our backend)</p>
<p>sudo zypper install ruby-devel</p>
<p>sudo zypper install sqlite-devel</p>
<p># Install tools for building C-based gems</p>
<p>sudo zypper install make # Not 100% sure that make is needed</p>
<p>sudo zypper install gcc</p>
<p># Install sqlite3 gem for ruby</p>
<p>sudo zypper install sqlite3-ruby</p>
<p># Install Rails</p>
<p>sudo gem install rails -v 2.3.2</p>
<p># Create a new Rails application<br />
rails grr</p>
<p># Create a thing (ok, more correctly called a resource) in Rails</p>
<p>cd grr</p>
<p>./script/generate Animal name:string</p>
<p># Create the database</p>
<p>rake db:migrate</p>
<p># Fire up the Rails web server</p>
<p>./script/server</p>
<p># And then browse to your site in the web browser - http://localhost:3000/animals</p>
<p>Hurrah! Everything works! (At least I hope it did!). Happy Rails development!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theirishpenguin.com/2010/11/20/installing-ruby-on-rails-on-meego-with-sqlite/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Ruby and Rubygems on Meego</title>
		<link>http://www.theirishpenguin.com/2010/11/18/installing-ruby-and-rubygems-on-meego/</link>
		<comments>http://www.theirishpenguin.com/2010/11/18/installing-ruby-and-rubygems-on-meego/#comments</comments>
		<pubDate>Wed, 17 Nov 2010 14:11:11 +0000</pubDate>
		<dc:creator>theirishpenguin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[meego]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubygesm]]></category>

		<guid isPermaLink="false">http://www.theirishpenguin.com/2010/11/18/installing-ruby-and-rubygems-on-meego/</guid>
		<description><![CDATA[Thanks to some great people on the Meego mailing lists I can happily show you how to get recent versions of Ruby and Rubygems running on your beloved MeeGo. The steps I present here are simply extracted from the guide at http://wiki.meego.com/Quality/QA-tools/TDriver Once the more recent Ruby releases (1.8.7 and higher) gain more traction in [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to some great people on the Meego mailing lists I can happily show you how to get recent versions of Ruby and Rubygems running on your beloved MeeGo. The steps I present here are simply extracted from the guide at<a title="TDriver QA Tool" href="http://wiki.meego.com/Quality/QA-tools/TDriver"> http://wiki.meego.com/Quality/QA-tools/TDriver</a></p>
<p>Once the more recent Ruby releases (1.8.7 and higher) gain more traction in MeeGo they will likely move into the core repository. So, be sure to see if they are there before changing adding/removing repositories as it outlined here.</p>
<p>Warning: You need to disable the MeeGo core repository and enable the testing and development repositories so be sure that you're happy to do this before continuing.</p>
<p>Steps:</p>
<p>#Remove the MeeGo core repo<br />
sudo zypper rr core</p>
<p># Enable the testing repo<br />
sudo zypper ar http://download.meego.com/live/Trunk:/Testing/standard/Trunk:Testing.repo</p>
<p># Enable the dev repo<br />
sudo zypper ar http://download.meego.com/live/devel:/quality/testing/devel:quality.repo</p>
<p>If you run into trouble remove this last repo with the command. If you do so you will be able to go no further.</p>
<p>sudo zypper rr devel_quality</p>
<p># Install Ruby 1.8.7<br />
sudo zypper install ruby</p>
<p># Install rubygems<br />
sudo zypper install rubygems</p>
<p>Yay! You're done! This guide would likely not have happened unless the MeeGo conference and its sponsors had not given away free MeeGo netbooks to the smiling attendees. Well done guys! And thank you!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theirishpenguin.com/2010/11/18/installing-ruby-and-rubygems-on-meego/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Deploying your Qt on Rails apps on the N900 (Maemo)</title>
		<link>http://www.theirishpenguin.com/2010/06/21/deploying-your-qt-on-rails-apps-on-the-n900-maemo/</link>
		<comments>http://www.theirishpenguin.com/2010/06/21/deploying-your-qt-on-rails-apps-on-the-n900-maemo/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 18:52:37 +0000</pubDate>
		<dc:creator>theirishpenguin</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[RubyIreland]]></category>
		<category><![CDATA[Rubyonrails]]></category>
		<category><![CDATA[UbuntuIreland]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[n900]]></category>
		<category><![CDATA[nokia]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubygems]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.theirishpenguin.com/?p=655</guid>
		<description><![CDATA[Qt on Rails is a framework to let you turn your Rails sites in desktop applications and harness the power of Ruby! It's not at production level yet but it's certainly possible to have a good play with it and a bit of a hack! If you're not familiar with Qt on Rails then a [...]]]></description>
			<content:encoded><![CDATA[<p>Qt on Rails is a framework to let you turn your Rails sites in desktop applications and harness the power of Ruby! It's not at production level yet but it's certainly possible to have a good play with it and a bit of a hack! If you're not familiar with Qt on Rails then a good place to start is <a href="http://www.theirishpenguin.com/2010/06/21/qt-on-rails-v0-1-released-but-is-this-ruby-based-qt-and-kde-app-framework-doomed/">this blog post</a> covering the v0.1 release. Also, check out the <a href="http://github.com/theirishpenguin/qtonrails">github repo</a> for more info on installing Qt on Rails on your desktop and building an application with it.  Here we show you how to deploy Qt on Rails based apps on your N900. One of the goals of Qt on Rails is to provide an easy way for you to develop apps faster for Maemo and, down the road, hopefully MeeGo too!</p>
<p style="font-size: 80%; font-weight: bold; padding: 20px; margin-bottom: 20px; margin-left: 70px; background-color: #ccffcc;">
Note: This blog post may help you figure out how to install any QtRuby application on the N900, not just Qt on Rails apps. Also, this  <a href="http://wiki.maemo.org/QtRuby">QtRuby Maemo wiki article</a> was particularly useful when I was stumbling along this path!
</p>
<p>One thing you will need to install as part of this guide is <a href="http://wiki.maemo.org/Easy_Debian">Easy Debian</a>. Easy Debian greatly expands what you can do with your Maemo device. It basically sticks a full-featured version of Debian on your device. This means 2 things - firstly, for the uber-geeks out there it let's you fire up a Linux desktop on the N900; though it's important to note that your normal Maemo desktop isn't affected by Easy Debian. Secondly, having a full-on Debian available let's you run Linux apps such as Open Office! Sweet! And what rocks is that you can even run these programs without invoking the Easy Debian Linux desktop - in a seamless manner. It's important to note that the user interface to these Easy Debian-based apps behave a differently to a typical native Maemo program; rather they work like a traditional desktop application with a mouse pointer on screen.</p>
<div style="font-size: 120%; font-weight: bold; padding-top: 15px;">Install Steps</div>
<ul>
<li>Note: For simplicity, this guide assumes you are installing an application which stores data using sqlite3. Also, the steps here have been tested against the N900 firmware update PR1.2. If you are using an older version of the firmware you may want to consider updating it.</li>
<li>Firstly, install Easy Debian with the N900's Application Manager</li>
<li>Install the Easy Debian image via the new Deb Img Install application added to your list of applications
<ul>
<li>Note: This is a 1 gig download, but comes with cool stuff like OpenOffice and intergrates pretty seamlessly with your desktop</li>
<li>Takes an hour or so to download and then extract itself</li>
</ul>
</li>
<li>Open the Debian Chroot terminal (not the usual N900 terminal), which should now be in your list of applications</li>
<li>Install rubygems, qtruby and  sqlite3 with ruby bindings
<ul>
<li>sudo apt-get install rubygems</li>
<li>sudo apt-get install libqt4-ruby</li>
<li>apt-get install libsqlite3-ruby</li>
</ul>
</li>
<li>Install the bits we need need from Rails (without installing documentation)
<ul>
<li>sudo gem install activerecord activesupport activeresource --no-ri --no-rdoc</li>
</ul>
</li>
<li>Zip up your Qt on Rails application and copy to any directory on to the N900. Note that the Qt on Rails application consists of the entire Rails directory directory including the vendor/plugins/qtonrails directory intact and  a sqlite3 database already created under the db directory).
<p style="font-size: 80%; font-weight: bold; padding: 20px; margin-bottom: 20px; margin-left: 70px; background-color: #ccffcc;">If you don't have your own Qt on Rails application to hand then you can create the RadRadio app discussed in the "Make it so, Jim!" section of the <a href="http://www.theirishpenguin.com/2010/06/21/qt-on-rails-v0-1-released-but-is-this-ruby-based-qt-and-kde-app-framework-doomed/">v0.1 release blog post</a></p>
<p style="font-size: 80%; font-weight: bold; padding: 20px; margin-bottom: 20px; margin-right: 70px; background-color: #ccffff;">
In the Qt on Rails v0.1 release there is a bug that accidentally introduces a dependency on a korundum library, which is not needed in this case. <a href="http://github.com/theirishpenguin/qtonrails/issues#issue/2">An issue is logged</a> against this in the <a href="http://github.com/theirishpenguin/qtonrails/issues">Qt on Rails Issue Tracker</a> As a workaround, find and remove any occurrences of <code>require 'korundum4'</code> in files under the <code>vendor/plugins/qtonrails/app</code> directory
</p>
</li>
<li>Once transferred, simply unzip it on your device. Note: If you saved the zip to the Documents folder on your N900, this can be found under /home/user/MyDocs/.documents when poking around the filesystem</li>
<li>Finally, via the good ol' Debian Chroot terminal, change directory to the vendor/plugins/qtonrails directory of your app and execute
<p><code style="margin-left:40px">ruby1.8 run</code></p>
</li>
<li>Boom! You should see your Qt on Rails app in all it's glory!</li>
</ul>
<p>Note there is a <a href="http://github.com/theirishpenguin/qtonrails/issues#issue/6">bug</a> where you cannot input into a text field when running a Qt on Rails app on the N900 using above technique (seamless mode). As a workaround, open the Qt on Rails app inside of the Debian LXDE desktop (rather than in seamless mode). You can find Debian LXDE in the list of applications on your device. Inside Debian LXDE, open a terminal and run the application as above. Just a quick heads up, sticky keys don't work like you'd expect - you have to <a href="http://wiki.maemo.org/Easy_Debian#sticky_keys_hack">hold down the Shift and Fn keys</a> to use them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theirishpenguin.com/2010/06/21/deploying-your-qt-on-rails-apps-on-the-n900-maemo/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Ruby On Rails on Windows</title>
		<link>http://www.theirishpenguin.com/2009/11/19/installing-ruby-on-rails-on-windows/</link>
		<comments>http://www.theirishpenguin.com/2009/11/19/installing-ruby-on-rails-on-windows/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 00:19:39 +0000</pubDate>
		<dc:creator>theirishpenguin</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[RubyIreland]]></category>
		<category><![CDATA[gem]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[rails]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[rubygems]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.theirishpenguin.com/?p=354</guid>
		<description><![CDATA[There were a couple of great outcomes from the first Free Ruby Lesson we ran in the Havana cafe on Dublin's Georges St last Monday. The first was getting everyone hacking with the Rails stack and some practical examples in double quick time. The second was managing to get RoR installed on Windows Vista as [...]]]></description>
			<content:encoded><![CDATA[<p>There were a couple of great outcomes from the first Free Ruby Lesson we ran in the Havana cafe on Dublin's Georges St last Monday. The first was getting everyone hacking with the Rails stack and some practical examples in double quick time. The second was managing to get RoR installed on Windows Vista as the lesson rumbled on in the background. Here's how Rails conquered Vista.</p>
<p>We kicked off by following the instructions on the <a href="http://wiki.rubyonrails.org/getting-started/installation/windows">rails wiki</a>. It's worth paying careful attention to anywhere it says to set path variables. If you find that you are getting an error that says that you version of rubygems is not recent enough (and you can't get rubygems to update itself) then you can install an older version of Rails, for example 2.3.2, using the following from the command line</p>
<pre>gem install rails -v 2.3.2</pre>
<p>(Note: If you have already installed a different version of rails you can uninstall it first by using 'gem uninstall rails').</p>
<p>The big problem however was getting sqlite3 working. We did install the SQLite Command Line Tool and the SQLite DLL as the Rails Wiki instructions said to - but to no avail. We kept getting a popup error saying that the sqlite3 dll was not found and to please consider reinstalling. Fortunately, we gambled on one of the answers on <a href="http://stackoverflow.com/questions/515639/ruby-cannot-find-sqlite3-driver-on-windows">StackOverflow</a>. Basically the solution was from the command line</p>
<pre>gem uninstall sqlite3-ruby</pre>
<pre>gem install sqlite3-ruby --source http://gems.rubyinstaller.org</pre>
<p>And with that we were away! The final thing was to get a nice friendly IDE installed so we plumbed for Netbeans on the <a href="http://netbeans.org/downloads">Netbeans Downloads page</a>. Look out for the special Ruby version of Netbeans which is one of the links around the middle of the downloads page.</p>
<p>Anyway, that's all for this week. Happy Ruby hacking!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theirishpenguin.com/2009/11/19/installing-ruby-on-rails-on-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

