<?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>Mundo Ruby &#187; one-click-installer</title>
	<atom:link href="http://www.mundoruby.com.ar/tag/one-click-installer/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mundoruby.com.ar</link>
	<description>Ruby Artists, Hackers y otras yerbas ...</description>
	<lastBuildDate>Wed, 12 Aug 2009 23:02:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>RubyInstaller &#8211; State of One-Click</title>
		<link>http://www.mundoruby.com.ar/2009/05/05/rubyinstaller-state-of-one-click/</link>
		<comments>http://www.mundoruby.com.ar/2009/05/05/rubyinstaller-state-of-one-click/#comments</comments>
		<pubDate>Tue, 05 May 2009 16:15:55 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[one-click-installer]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=82</guid>
		<description><![CDATA[&#8220;
I wont be lame and say been a while since last blogged, which is true, but is not the reason I’m writing this.
I’ll like to provide a better look on what’s going on at RubyInstaller project, clear out some repeating questions and give hope to people.
Please keep reading if you’re interested (will try to make [...]]]></description>
			<content:encoded><![CDATA[<p>&#8220;
<p>I wont be lame and say <em>been a while since last blogged</em>, which is true, but is not the reason I’m writing this.</p>
<p>I’ll like to provide a better look on what’s going on at RubyInstaller project, clear out some repeating questions and give <em>hope</em> to people.</p>
<p>Please keep reading if you’re interested (will try to make it short, I promise).<br />
<span id="more-161"></span></p>
<h3>Current One-Click Installer &#8211; Stable State</h3>
<p>I keep getting several emails about current installer (labeled <code>186-27 RC2</code>). While it says <em>Release Candidate 2</em>, it has proven to be really stable, not getting any new report of issues or major bugs in the installer, Ruby or RubyGems.</p>
<p>So even it says <strong>RC2</strong>, it is stable people, please use it (I do).</p>
<p>I’ve been working in the new installers, that’s why there was no updated version.</p>
<h3>1.8.6, 1.8.7, 1.8.x?</h3>
<p>I tried to explain why RubyInstaller project is sticking with <code>1.8.6</code> for <code>1.8.x</code> line of Ruby support. It seems needs further explanation.</p>
<p>Lot of packages bundled in current installer, see for yourself <a href="http://rubyinstaller.rubyforge.org/svn/trunk/installer-win2/rakefile.rb">here</a></p>
<p>Most of those haven’t been updated <strong>in years</strong>, which mean that manually I need to go and patch all those to make them work with <code>1.8.7</code> due some changes in the extensions and even some <em>features</em> (cough, incompatibilities) back-ported from <code>1.9.x</code> development.</p>
<p>Doing that amount of work is beyond RubyInstaller project job or role. I’ve invested lot of this time fixing several projects for Windows compatibility and provide tools to ease the cross platform integration (rake-compiler).</p>
<p>We can’t do more than that. <strong>I can’t do more than that</strong>.</p>
<p>I cannot endorse <code>1.8.7</code> usage or support it, since I’m not an active user of that particular version. </p>
<p>So go ahead, checkout the Subversion repository of current installer like this:</p>
<pre><code>
svn co http://rubyinstaller.rubyforge.org/svn/trunk/installer-win2/ current-one-click
</code></pre>
<p>Read the instructions and build your own version of 1.8.7.</p>
<p>Don’t have a VC6 license required to build it? then clone the MinGW version over <a href="http://github.com/oneclick/rubyinstaller/tree/master">here</a></p>
<p>All the code is out there, all the instructions are there. There is no rocket science about the process, just time, <em>your</em> time.</p>
<h3>When will be a 1.9 One-Click Installer?</h3>
<p>When people start helping out, seriously.</p>
<p>On a weekly basis I get errors from people facing issues with several Gems, way beyond the scope of RubyInstaller project. Even so, I try to help them out.</p>
<p>That is a time consuming tasks, being the only one with <strong>all the world knowledge</strong> of Windows…</p>
<p>Seriously guys, do you think I know all the answers to all your Windows projects under X, Y, Z version of OS, Rails, permissions, libraries and gem combination? I’m only human. <code>/rant</code></p>
<p>Anyhow, progress has been made in getting both <code>1.8.x</code> and <code>1.9.x</code> working with the new MinGW based installer. Test packages (compressed with <a href="http://7-zip.org">7-zip</a>) are available at the following URL:</p>
<p><a href="http://rubyinstaller.org/downloads/">http://rubyinstaller.org/downloads/</a></p>
<p><strong>Be aware that no bug report will be accepted for those versions, yet.</strong></p>
<p>Also, keep in mind that <code>1.9.1-p0</code> doesn’t complete it’s own tests on Windows, which is a real problem to proper distribute an official version.</p>
<h3>When the <em>Installers</em> are going out for 1.8.6 and 1.9?</h3>
<p>The <a href="http://github.com/oneclick/rubyinstaller/tree/updated-installers">updated-installers</a> branch at GitHub contains the MSI recipes to build both 1.8 and 1.9 versions of the installer.</p>
<p>The following is the list of things that needs more work before release:</p>
<ul>
<p>
<li> Installers requires Administrative privileges (elevated rights).</p>
<p>Looking into a way to avoid it.</li>
</p>
<p>
<li> Does not ask about adding the Ruby to the <code>PATH</code>.</p>
<p>It does always, which make co-existence with other Ruby a problem.</li>
</p>
<p>
<li> Lot of your gems will be broken.</p>
<p>You could blame Ruby and <code>rbconfig</code> for this. Basically, MinGW and VC6, even they use the same <acronym title="C RunTime Library">CRT</acronym>, they are marked as different platforms (<code>i386-mingw32</code> and <code>i386-mswin32</code>).</p>
<p>Several gems evaluate for <code>mswin32</code> (even worse, some of them check <code>RUBY_PLATFORM</code> with <code>win32</code> (see <a href="http://blog.mmediasys.com/2008/10/21/guas-is-giving-unwanted-advice-series-1/">this post</a>)</p>
<p>Cannot fix all those gems, so is time for you to contribute too.</li>
<p>
</ul>
</p>
<h3>What can you do to help?</h3>
<p>I was waiting for that question to show up! <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p>Download those versions (including the <em>fake</em> DevKit), put your helmet, gloves and start using it like I do. Some tips:</p>
<ul>
<p>
<li> Add the compiler to the <code>PATH</code> when installing gems that contains extensions.</p>
<p>If you gem fails during installation and shows the <em>Building native extensions legend</em> that means you need the compiler around</li>
</p>
<p>
<li> Check for <code>RUBY_PLATFORM</code> in the gems</p>
<p>If the gem doesn’t work after that, peek into the gem code for <code>RUBY_PLATFORM</code> conditions and see if <code>mingw</code> is being considered</li>
</p>
<p>
<li> Ask the developer to provide <em>native</em> versions of the gem</p>
<p>If the gem requires several libraries and other stuff. Politely request the gem author to create a native binary of that gem for Windows.</p>
<p>Point him to rake-compiler project, and <a href="http://github.com/luislavena/sqlite3-ruby/tree/master">some</a> <a href="http://github.com/luislavena/mysql-gem/tree/better-build">projects</a> that <a href="http://github.com/datamapper/do/tree/next">includes</a> tasks for building cross platform packages.</li>
<p>
</ul>
</p>
<p>As a last resource, ask them join <a href="http://rubyforge.org/mailman/listinfo/rubyinstaller-users">rubyinstaller-users</a> list and ask questions about to improve the cross-platform compatibility of their projects.</p>
<p>Hint: latest json gem needs some love <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<h3>Final words</h3>
<p>I come from the broadcast video industry, where a <em>release early, release often</em> approach doesn’t work since thousands of dollars can be lost for a couple of seconds downtime.</p>
<p>Releasing something with so many quirks will make people angry, and will not help on solve or improve the image Ruby on Windows already have.</p>
<p>But is as much <strong>I</strong> can do, it is time for <strong>you</strong>, <em>Ruby</em> developer, either on Linux, OSX or Windows to take care.</p>
<p>We are talking about <strong>Ruby</strong> and the <strong>Ruby Community</strong>, not just Windows.</p>
<p>&#8220;</p>
<p>(Via <a href="http://blog.mmediasys.com">DEV_MEM.dump_to(:blog) &#8211; Multimedia systems blog</a>.) Original Link: <a href="http://blog.mmediasys.com/2009/05/05/rubyinstaller-state-of-one-click/#comments">RubyInstaller &#8211; State of One-Click</a></p>
<p><script type="text/javascript"><!--
google_ad_client = "pub-7949681675937032";
google_ad_slot = "0874687580";
google_ad_width = 468;
google_ad_height = 60;
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mundoruby.com.ar/2009/05/05/rubyinstaller-state-of-one-click/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

