<?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>DEV_MEM.dump_to(:blog) - Multimedia systems blog &#187; Ruby</title>
	<atom:link href="http://blog.mmediasys.com/category/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mmediasys.com</link>
	<description>Compartiendo fragmentos de código con el mundo.</description>
	<lastBuildDate>Thu, 29 Jul 2010 16:32:42 +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>Final RubyInstaller packages out, what is next?</title>
		<link>http://blog.mmediasys.com/2010/06/08/final-rubyinstaller-packages-out-what-is-next/</link>
		<comments>http://blog.mmediasys.com/2010/06/08/final-rubyinstaller-packages-out-what-is-next/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 16:37:00 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=349</guid>
		<description><![CDATA[Hello, I missed blogging this, not because was not important, but because right now, I&#8217;m attending RailsConf in Baltimore.

RubyInstaller packages released.
Last details of RubyInstaller installers itself was sorted out a month ago, but was holding the release because wanted to be 100% sure nothing else breaks. I should have known better, you can never be [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, I missed blogging this, not because was not important, but because right now, I&#8217;m attending <a href="http://en.oreilly.com/rails2010">RailsConf</a> in Baltimore.</p>
<p><span id="more-349"></span></p>
<h3>RubyInstaller packages released.</h3>
<p>Last details of RubyInstaller <em>installers</em> itself was sorted out a month ago, but was holding the release because wanted to be 100% sure nothing else breaks. I should have known better, you can never be 100% sure, so decided to stop stalling and release the final versions.</p>
<p>You can find the installers or 7-zip packages at our website in the download section:</p>
<p>http://rubyinstaller.org/</p>
<p>Which <span class="caps">BTW, </span>sports the new design from the pledgie, do you like it? (Sure I do) <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<h3>What to expect?</h3>
<p>RubyInstaller team worked providing installers that works seamlessly across different versions of Windows, environments and a bunch of wacky requirements.</p>
<p>A few points:</p>
<ul>
<li>Releases for newer version of Ruby will be delivered more often, really.</li>
<li>You can install RubyInstaller as normal user without requiring administrative rights (good for lock-down computers).</li>
<li>Installer do not mess with your system or other Ruby installations</li>
<li>You can safely uninstall it and your gems or customizations will be kept <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </li>
<li>It is extremely fast to install</li>
<li>It is easy to embed in other installers (silent installation mode).</li>
</ul>
<h3>But that&#8217;s not all!</h3>
<p>Indeed, more stuff is published to RubyForge now: <a href="http://rubyforge.org/projects/rubyinstaller/">Experimental</a></p>
<p>Experimental will be the section dedicated to preview or beta version of Ruby. Right now you can find newer 1.9.2-preview3 version, just released a few weeks ago. Ideally, once it hits final, we will provide installers.</p>
<p>In the mean time, you can experiment with it and help Ruby community improve it&#8217;s support for Windows.</p>
<p>Please report any Ruby bug from it to <a href="http://redmine.ruby-lang.org/projects/show/ruby-19">Ruby Redmine</a> bug tracker.</p>
<h3>What is next?</h3>
<p>We haven&#8217;t defined a Roadmap for the installers yet. The next target in the queue is 1.9.3, which is been worked in a separate branch since it requires newer libraries been build.</p>
<p>You can checkout this at <a href="http://github.com/oneclick/rubyinstaller/tree/libyaml">our repository</a></p>
<h3>Thank you!</h3>
<p>Last but not least I personally want to thank all the developers and users that provided feedback about the installer, the building recipes and helped out with support details at the group.</p>
<p>Without <a href="http://github.com/oneclick/rubyinstaller/blob/master/CONTRIBUTORS">them</a> nothing could have been possible!</p>
<h3>Feedback or questions?</h3>
<p>Just join us at <a href="http://groups.google.com/group/rubyinstaller">RubyInstaller</a> group and we will happily answer them <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/06/08/final-rubyinstaller-packages-out-what-is-next/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>win32console 1.3.0.beta2 released</title>
		<link>http://blog.mmediasys.com/2010/03/07/win32console-1-3-0-beta2-released/</link>
		<comments>http://blog.mmediasys.com/2010/03/07/win32console-1-3-0-beta2-released/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 15:27:50 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=337</guid>
		<description><![CDATA[I&#8217;ve just released a second beta of win32console gem.
What&#8217;s new?
Only two new things: STDERR is now redirected (wasn&#8217;t before) and the addition of ECHO on/off functionality thanks to Justin Love
How to install?
You can read previous post with installation instructions, since it is a prerelease, please test it and report me any new issue here
Known Issues
AutoSpec [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just released a second beta of win32console gem.</p>
<h3>What&#8217;s new?</h3>
<p>Only two new things: <code>STDERR</code> is now redirected (wasn&#8217;t before) and the addition of <code>ECHO</code> on/off functionality thanks to <a href="http://github.com/jloveces">Justin Love</a></p>
<h3>How to install?</h3>
<p>You can read <a href="http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/">previous post</a> with installation instructions, since it is a prerelease, please test it and report me any new issue <a href="http://github.com/luislavena/win32console/issues">here</a></p>
<h3>Known Issues</h3>
<p>AutoSpec is known to have problems, but is not an issue of win32console, as you can read in <a href="http://github.com/luislavena/win32console/issues#issue/3">GH-3</a></p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/03/07/win32console-1-3-0-beta2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mongrel_service 0.4.beta3 released</title>
		<link>http://blog.mmediasys.com/2010/03/07/mongrel_service-0-4-beta3-released/</link>
		<comments>http://blog.mmediasys.com/2010/03/07/mongrel_service-0-4-beta3-released/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 14:15:26 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=334</guid>
		<description><![CDATA[This is a followup to my previous post
I&#8217;ve pushed to RubyGems a version 0.4.beta3, you can access it from here
What&#8217;s new?
Bugsfixes, thanks to sinclair that fixed a couple of regressions due the refactoring and removal of win32-service dependency.
Please read the previous post about install and usage instructions. Thank you.
]]></description>
			<content:encoded><![CDATA[<p>This is a followup to <a href="http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released">my previous post</a></p>
<p>I&#8217;ve pushed to <a href="http://rubygems.org/">RubyGems</a> a version <strong>0.4.beta3</strong>, you can access it from <a href="http://rubygems.org/gems/mongrel_service/versions/0.4.beta3">here</a></p>
<h3>What&#8217;s new?</h3>
<p>Bugsfixes, thanks to <a href="http://github.com/sinclair">sinclair</a> that fixed a couple of regressions due the refactoring and removal of win32-service dependency.</p>
<p>Please read the previous post about install and usage instructions. Thank you.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/03/07/mongrel_service-0-4-beta3-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mongrel_service 0.4.beta2 released</title>
		<link>http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released/</link>
		<comments>http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 22:15:08 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=326</guid>
		<description><![CDATA[I think nobody expected this project hit the 4 years mark&#8230; guess I didn&#8217;t expected it either!

I just pushed to official gem repositories (Gemcutter) the newer version of mongrel_service
What&#8217;s new?
A few outstanding bugs has been fixed. A few patches from Daniel Gies and papillon and other stuff:
Removed win32-service dependency
Since win32-service used SEH, something only present [...]]]></description>
			<content:encoded><![CDATA[<p>I think nobody expected this project hit the 4 years mark&#8230; guess I didn&#8217;t expected it either!</p>
<p><span id="more-326"></span></p>
<p>I just <a href="http://gemcutter.org/gems/mongrel_service/versions/0.4.beta2">pushed</a> to official gem repositories (Gemcutter) the newer version of <a href="http://github.com/fauna/mongrel_service">mongrel_service</a></p>
<h3>What&#8217;s new?</h3>
<p>A few outstanding bugs has been fixed. A few patches from Daniel Gies and <a href="http://github.com/papillon">papillon</a> and other stuff:</p>
<h4>Removed win32-service dependency</h4>
<p>Since win32-service used <acronym title="Structured Exception Handling">SEH</acronym>, something only present in Visual C, newer builds of Ruby made with <span class="caps">GCC </span>cannot use it.</p>
<p>This change will make possible to depend on even less external stuff.</p>
<p><em>Remember</em>: you still need administrative privileges to install or remove Windows Services.</p>
<h4>Mongrel log files are written to the path specified by &#8211;log option</h4>
<p>Yes, log files used to be written all in Ruby bin folder, this has now changed, thanks to Daniel Gies contribution.</p>
<p>This will happen automatically with the upgraded exectuable.</p>
<h4>Workaround Windows 2008 process detection</h4>
<p>It is now possible execute the service on any account besides <code>LocalSystem</code>. Contribution by Daniel Gies and papillon.</p>
<h4>Wait longer for child process terminate properly</h4>
<p>There are times some pending database connections are slow. With this change these will terminate smoothly now.</p>
<h4>Nitty gritty</h4>
<p>I took the time to cleanup the repository, folder structure and build process to make it more easy update this project in the future. Thanks <a href="http://seattlerb.rubyforge.org/hoe/">Hoe</a> and <em>my own experience</em> working with Rake.</p>
<h3>How to install it?</h3>
<p>Since this is a prerelease gem, you need to indicate the option during gem installation:</p>
<p><code>gem install mongrel_service --prerelease</code></p>
<p>Once installed, you can now install new services.</p>
<p>If you already have a service installed for your application, you will need to remove it and install it again for it to update the executable and adjust the service registry information.</p>
<p>The expected commands are <code>mongrel_rails service::remove --name MyService</code> and after issue <code>mongrel_rails service::install --name MyService ...</code></p>
<h3>Report bugs</h3>
<p>If you find any problem with this newer build, please use GitHub <a href="http://github.com/fauna/mongrel_service/issues">issues</a> since current Mongrel tracker is full of spam.</p>
<p>Please include <code>servicefb.log</code>, <code>mongrel_service.log</code> and <code>mongrel.log</code> generated when attempts to start or stop the service failed.</p>
<h3>When to expect a final release</h3>
<p>If no serious bug appears, expect a final 0.4 release next weekend.</p>
<p>Thanks all for the contributions and happy new year!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2010/01/01/mongrel_service-0-4-beta2-released/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>To require or not require rubygems in your applications or libraries</title>
		<link>http://blog.mmediasys.com/2009/12/30/to-require-or-not-require-rubygems-in-your-applications-or-libraries/</link>
		<comments>http://blog.mmediasys.com/2009/12/30/to-require-or-not-require-rubygems-in-your-applications-or-libraries/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 22:57:20 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Miscelaneas]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=323</guid>
		<description><![CDATA[NOTE Undusting this post as better response to a conversation in Tweeter, with tenderlove and nickseiger 

Nick commented out here that Ryan Tomayko post is correct.
Well, kind of, sorta&#8230; not entirely correct.
Mandatory warning
Take the following statements with a grain of objectivity without pondering how much bits and bytes a packaging solution like RubyGems adds to [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span class="caps">NOTE</span></strong> Undusting this post as better response to a <em>conversation</em> in Tweeter, with <a href="http://twitter.com/tenderlove">tenderlove</a> and <a href="http://twitter.com/nicksieger">nickseiger</a> </p>
<p><span id="more-323"></span></p>
<p>Nick commented out <a href="http://twitter.com/nicksieger/status/7209501582">here</a> that Ryan Tomayko <a href="http://tomayko.com/writings/require-rubygems-antipattern">post</a> is correct.</p>
<p>Well, kind of, sorta&#8230; not entirely correct.</p>
<h3>Mandatory warning</h3>
<p>Take the following statements with a grain of <em>objectivity</em> without pondering how much bits and bytes a packaging solution like RubyGems adds to your scenario.</p>
<p>Now, let me present this with a story (I love stories)</p>
<h3>Creating my application or library</h3>
<p>I had an excellent idea for a new library we needed here at the office. This library will provide a client-side <span class="caps">OOP </span>access to a remote webservice we use daily.</p>
<p>After investigation of my remote webservice <span class="caps">API </span>and structure and exploration of existing <span class="caps">HTTP</span>/REST like interfaces, I decided that would be best to invest my time in leverage the low-level <span class="caps">HTTP </span>complexity to an existing library published by another developer.</p>
<h3>Filling the gaps and start working</h3>
<p>Started creating my library (called <em>Foo</em>) and based the internals calls on what was published for <em>Bar</em> at that time (let&#8217;s say was version 1)</p>
<p>So far, everything is great. Everything works great on my computer.</p>
<h3>Time to share</h3>
<p>It has been 2 weeks since I created this library and we internally wanted to use in another project.</p>
<p>This time, my colleague check out my library repository and try to use the library.</p>
<p>He realizes that <em>Bar</em> is required and is not present in his environment, which leads him to start a gem installation process.</p>
<p>He succeed installing <em>Bar</em> version 2, as is the latest available version by the developer of it, but my library no longer works with it, since there are several <span class="caps">API </span>changes.</p>
<p>Spotting that issue can be simple, but now think the following: I&#8217;ve used <a href="http://hellorip.com/">Rip</a> instead of Rubygems, and Rip uses repositories directly, not packaged versions.</p>
<p>So now, <em>Foo</em> is not only version specific, but <em>commit specific</em> since the developer of <em>Bar</em> could have changed <span class="caps">API </span>between commits to finalize or stabilize it.</p>
<p>Even worse could be that I used <code>setup.rb</code> that was part of <em>Bar</em> and installed inside my Ruby installation, which then will make complicated to figure out which version I used to implement <em>Foo</em></p>
<h3>But what if&#8230;</h3>
<ul>
<li>Usage of Git submodules for my dependencies&#8230; if I&#8217;m using Git at all.</li>
<li>Gemify my library, which then will lead to negative comments from others about me imposing a packaging system on them.</li>
<li>Do not release or share my library at all. Problem solved.</li>
</ul>
<p>Add to that, that even if I released my library as a gem or not, there is no way to determine the usage of my <em>Foo</em> from Joe&#8217;s <em>Foo</em> variation. Something I raised about GitHub gem forks and commented out <a href="http://drnicwilliams.com/2009/11/04/hacking-someones-gem-with-github-and-gemcutter/">here</a></p>
<p>So, try all the approaches, get your own conclusions, but don&#8217;t say that the way I implement something is flawed. That is plain subjective.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/30/to-require-or-not-require-rubygems-in-your-applications-or-libraries/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>win32console 1.3.0 prerelease</title>
		<link>http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/</link>
		<comments>http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/#comments</comments>
		<pubDate>Tue, 29 Dec 2009 23:16:53 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=319</guid>
		<description><![CDATA[I mentioned in previous post that I was working in a updated version of win32console.
So, just pushed to Gemcutter the prerelease version (_beta1_) so you guys can test with your current Cucumber/RSpec scenarios.
How to install prerelease versions?
All the RubyGems 1.3.x series sport the feature to prerelease gem installations. I recommend update to RubyGems 1.3.5 first [...]]]></description>
			<content:encoded><![CDATA[<p>I mentioned in <a href="http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/">previous post</a> that I was working in a updated version of win32console.</p>
<p>So, just pushed to Gemcutter the prerelease version (_beta1_) so you guys can test with your current Cucumber/RSpec scenarios.</p>
<h3>How to install prerelease versions?</h3>
<p>All the RubyGems 1.3.x series sport the feature to prerelease gem installations. I recommend <a href="http://blog.mmediasys.com/2008/08/04/problems-with-rubygems-find-here-some-handy-tips/">update to RubyGems 1.3.5 first</a> in case you haven&#8217;t already, and proceed to install the gem:</p>
<p><code>gem install win32console --prerelease</code></p>
<p>The process will install version <code>1.3.0.beta1</code>, which will be automatically available to any <code>require</code> done by Cucumber or RSpec.</p>
<h3>What changed on this release?</h3>
<p>As I mentioned before, there are a couple of changes required to support 1.9. On this release, I got rid of hardcoded translation tables used to convert codepages from input/output consoles.</p>
<h3>How this affects me?</h3>
<p>It will only affect you if you use accented characters in the output. If you do, then you should verify that your console codepage supports them. There is more information in the Cucumber wiki <a href="http://wiki.github.com/aslakhellesoy/cucumber/troubleshooting">troubleshooting page</a></p>
<p>Now that text is sent transparently to the output, you have the control to feed the stream with different encodings and ensuring the output matches the console codepage.</p>
<p>A working example of this is located <a href="http://gist.github.com/265593">here</a></p>
<p>Please test it out so a formal 1.3.0 release can be done the upcoming days.</p>
<p>Cheers!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>win32console upcoming changes and feedback</title>
		<link>http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/</link>
		<comments>http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 04:23:39 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Miscelaneas]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=314</guid>
		<description><![CDATA[For the ones not aware of, win32console (originally here, gemified here) is a project that provides ANSI coloring for Windows.
Yeah, Windows doesn&#8217;t do ANSI coloring like any POSIX terminal, and it has it&#8217;s own API with extended control of the console functionality.

UPDATE: Please see this post for the beta1 release of new win32console.
So, I took [...]]]></description>
			<content:encoded><![CDATA[<p>For the ones not aware of, win32console (originally <a href="http://rubyforge.org/projects/win32console">here</a>, gemified <a href="http://rubyforge.org/projects/winconsole">here</a>) is a project that provides <span class="caps">ANSI </span>coloring for Windows.</p>
<p>Yeah, Windows doesn&#8217;t do <span class="caps">ANSI </span>coloring like any <span class="caps">POSIX </span>terminal, and it has it&#8217;s own <span class="caps">API </span>with extended control of the console functionality.</p>
<p><span id="more-314"></span></p>
<p><strong><span class="caps">UPDATE</span>:</strong> Please see <a href="http://blog.mmediasys.com/2009/12/29/win32console-1-3-0-prerelease/">this post</a> for the beta1 release of new win32console.</p>
<p>So, I took over the project long ago, since required a couple of fixed. You could find the code <a href="http://github.com/luislavena/win32console">here</a> at GitHub</p>
<p>I must say that my backyard and house is getting crowded. Lot of small Open Source projects that require attention and some of those that require some special care, like this case.</p>
<p>What do I mean by this?</p>
<p>win32console do more than just fancy colors, it also translates the current console page back and forth using some clever but not portable character extrapolation&#8230;</p>
<p>Now, Ruby 1.9 doesn&#8217;t like you do that, not at all.</p>
<p>So wonder, what if I just get rid of that? How much of win32console features are being used beyond the <span class="caps">ANSI </span>coloring?</p>
<p>I just verified that tweak work with cucumber in 1.8 and 1.9, but dunno other user cases.</p>
<p>Want to know all that, since I&#8217;m creating a much simpler solution that uses <a href="http://github.com/ffi/ffi"><span class="caps">FFI</span></a> and will provide colors for both <span class="caps">MRI </span>and JRuby, no extension compilation and will deprecate the need of win32console.</p>
<p>What do you think? Please let me know your thoughts in the comments.</p>
<p>Thank you <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/17/win32console-upcoming-changes-and-feedback/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>rake-compiler: safe list of Ruby versions that can be cross-compiled</title>
		<link>http://blog.mmediasys.com/2009/12/16/rake-compiler-safe-list-of-ruby-versions-that-can-be-cross-compiled/</link>
		<comments>http://blog.mmediasys.com/2009/12/16/rake-compiler-safe-list-of-ruby-versions-that-can-be-cross-compiled/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 06:00:12 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Miscelaneas]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=307</guid>
		<description><![CDATA[Seems that I&#8217;m going to suffer a series of bug reports in the upcoming weeks due continious changes between patchlevels of Ruby.
To give some background, for the fresh ones just arriving to the blog. rake-compiler provides, besides C/Java extension standardization structure, the ability to cross-compile versions of Ruby to allow developers on Linux/OSX build and [...]]]></description>
			<content:encoded><![CDATA[<p>Seems that I&#8217;m going to suffer a series of bug reports in the upcoming weeks due continious changes between patchlevels of Ruby.</p>
<p>To give some background, for the fresh ones just arriving to the blog. <a href="http://github.com/luislavena/rake-compiler">rake-compiler</a> provides, besides C/Java extension standardization structure, the ability to cross-compile versions of Ruby to allow developers on Linux/OSX build and release gems for users running Windows.</p>
<p>Seems that latest patchlevels of Ruby 1.8.7 (172) and 1.9.1 (376) cannot be cross compiled.</p>
<p>I&#8217;ve reported that to Ruby&#8217;s bug tracker under issues <a href="http://redmine.ruby-lang.org/issues/show/2464">#2464</a> and <a href="http://redmine.ruby-lang.org/issues/show/2484">#2484</a></p>
<p>From what you can read there, there is a clear change in the rules about what is the minimum Ruby version that can be used to cross compile (known as <code>BASERUBY</code>)</p>
<p>Now, being pointed to the <a href="http://redmine.ruby-lang.org/wiki/ruby/DeveloperHowto">Developer&#8217;s Howto</a> page, and checking the history and time, it is clear the note about the limitation is <em>really fresh</em></p>
<p>The funny thing is that I still can cross compile 1.9.2dev using 1.8.6! Which is contrary to what the recently edited howto states!</p>
<p>Don&#8217;t get me wrong, I have no personal issue besides being annoyed, and that will require put some lock in <code>cross-ruby</code> compilation to avoid bug reports about something that is beyond my control.</p>
<p>So, with the goal of making this public and have a link to include in my canned response to people reporting bugs about it, the following is the list of versions and patchlevels of Ruby that I know works and aim to support in relation to bug fixes of rake-compiler itself:</p>
<table>
<tr>
<th>Version</th>
<th>Patchlevel</th>
<th>supported?</th>
<th>Command</th>
</tr>
<tr>
<td>1.8.6</td>
<td>287</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby</code></td>
</tr>
<tr>
<td>1.8.6</td>
<td>383</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby VERSION=1.8.6-p383</code></td>
</tr>
<tr>
<td>1.8.6</td>
<td>398</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby VERSION=1.8.6-p398</code></td>
</tr>
<tr>
<td>1.8.7</td>
<td>72</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.8.7</td>
<td>173</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.8.7</td>
<td>249</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.8.7</td>
<td>299</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.9.1</td>
<td>243</td>
<td>Yes</td>
<td><code>rake-compiler cross-ruby VERSION=1.9.1-p243</code></td>
</tr>
<tr>
<td>1.9.1</td>
<td>376</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.9.1</td>
<td>378</td>
<td>NO</td>
<td>&#8230;</td>
</tr>
<tr>
<td>1.9.2</td>
<td>trunk</td>
<td>Yes</td>
<td>(that is true up to revision 26108)</td>
</tr>
</table>
<p>Tricky list, even switching the version of Ruby to match the one desired to be installed, it doesn&#8217;t work (reported as <a href="http://redmine.ruby-lang.org/issues/show/2485">#2485</a>, I&#8217;m very persistent).</p>
<p>So, apologies to anyone having issues with this: I&#8217;m having the same ones here.</p>
<p><strong>Update:</strong> Added 1.8.7-p299 to the list of <em>no compatible</em></p>
<p><strong>Update 2:</strong> Added 1.8.6-p398 to the list of <em>compatibles</em> and 1.8.7 still is not cross-compilable, sorry. 1.9.1-p378 is not cross-compilable either.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/16/rake-compiler-safe-list-of-ruby-versions-that-can-be-cross-compiled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What&#8217;s new in rake-compiler 0.7.0</title>
		<link>http://blog.mmediasys.com/2009/12/08/whats-new-in-rake-compiler-0-7-0/</link>
		<comments>http://blog.mmediasys.com/2009/12/08/whats-new-in-rake-compiler-0-7-0/#comments</comments>
		<pubDate>Tue, 08 Dec 2009 16:00:36 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=303</guid>
		<description><![CDATA[An hour ago I released version 0.7.0 of rake-compiler. See the announcement at RubyInstaller mailing list (CC to Ruby-Talk too, just in case)
JRuby
This new version includes an amazing contribution by Alex Coles that allow compilation and packaging of JRuby extensions and gems!
Yes, it is now possible, under JRuby, to compile JRuby gems that bundle jar [...]]]></description>
			<content:encoded><![CDATA[<p>An hour ago I released version 0.7.0 of rake-compiler. See the announcement at <a href="http://groups.google.com/group/rubyinstaller/browse_thread/thread/4d7648346949a7b0">RubyInstaller mailing list</a> (CC to Ruby-Talk too, just in case)</p>
<h3>JRuby</h3>
<p>This new version includes an amazing contribution by <a href="http://alexbcoles.com/">Alex Coles</a> that allow compilation and packaging of JRuby extensions and gems!</p>
<p>Yes, it is now possible, under JRuby, to compile JRuby gems that bundle <code>jar</code> files with the extensions.</p>
<p>Even more, with proper tools and a valid JRuby installation, you can even compile extensions from your current 1.8 or 1.9 <span class="caps">MRI </span>installation!</p>
<p>Please take a look in the <a href="http://github.com/luislavena/rake-compiler/blob/master/README.rdoc"><span class="caps">README.</span>rdoc</a> file for more details</p>
<h3>Rubinius?</h3>
<p>I couldn&#8217;t test it myself, but seems that rake-compiler got bundled in latest <span class="caps">RC1 </span>of Rubinius. See it for yourself <a href="http://github.com/evanphx/rubinius/tree/master/preinstalled-gems/data/cache">here</a></p>
<p>Thanks to Rubinius support for Ruby C <span class="caps">API </span>and huge reverse engineered <code>mkmf</code>, rake-compiler should work for most of the extensions. Will check that statement later.</p>
<p>So, resistance is futile&#8230; the next implementations to be assimilated are MacRuby and MagLev, wanna help me out on that? <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<h3>What&#8217;s next?</h3>
<p>At the time I started with rake-compiler, none of the cool tools like <a href="http://github.com/vertiginous/pik">Pik</a> or <a href="http://rvm.beginrescueend.com/">rvm</a> existed.</p>
<p>Because of that, the only way possible to generate fat binaries (mentioned before <a href="http://blog.mmediasys.com/2009/05/31/beta-test-rake-compiler-fat-binaries-functionality-implemented/">here</a>) was cross-compiling.</p>
<p>Now that is easy to switch Ruby versions and implementations, it will be possible to implement changes to generate native fat-binaries on any platform.</p>
<p>This functionality is planned, but not <span class="caps">ETA </span>yet. Want to help? <a href="http://github.com/luislavena/rake-compiler">Fork</a> the project on GitHub and start right now!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/12/08/whats-new-in-rake-compiler-0-7-0/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Lot of small but rewarding news</title>
		<link>http://blog.mmediasys.com/2009/10/06/lot-of-small-but-rewarding-news/</link>
		<comments>http://blog.mmediasys.com/2009/10/06/lot-of-small-but-rewarding-news/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 22:54:29 +0000</pubDate>
		<dc:creator>Luis</dc:creator>
				<category><![CDATA[Miscelaneas]]></category>
		<category><![CDATA[Releases]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://blog.mmediasys.com/?p=298</guid>
		<description><![CDATA[For the ones that cares: I&#8217;m still alive.
I have so cool news to everybody:
MySQL/Ruby support
As I announced 2 months ago, new releases of MySQL gem are going to be build from my repository at GitHub
Please note: only report bugs related to the gem itself, more likely the binary issues. Other type of bugs will be [...]]]></description>
			<content:encoded><![CDATA[<p>For the ones that cares: I&#8217;m still alive.</p>
<p>I have so cool news to everybody:</p>
<h3>MySQL/Ruby support</h3>
<p>As I announced <a href="http://blog.mmediasys.com/2009/08/21/mysqlruby-2-8-1-released/">2 months ago</a>, new releases of MySQL <em>gem</em> are going to be build from <a href="http://github.com/luislavena/mysql-gem">my repository</a> at GitHub</p>
<p><strong>Please note</strong>: only report bugs related to the gem itself, more likely the binary issues. Other type of bugs will be rejected, since this gem is a wrapper around <a href="http://rubyforge.org/projects/mysql-ruby">MySQL/Ruby</a> code from Tomita Mashahiro (tmtm)</p>
<h3><span class="caps">SQL</span>ite3/Ruby bindings</h3>
<p>I took the role of maintainer of <span class="caps">SQL</span>ite3/Ruby project, but I really lack the skills to dig into all the inner details of it.</p>
<p>So, I&#8217;m opening the door to anyone with new features, enhancements or bug fixes to fork my clone of the project (<a href="http://github.com/luislavena/sqlite3-ruby">here</a>), do your changes and send a pull request.</p>
<p>Both RubyForge Tracker and GitHub pull requests will be honored.</p>
<h3>Pure-Ruby Readline (rb-readline)</h3>
<p>Released version 0.2.0 a <a href="http://blog.mmediasys.com/2009/09/21/pure-ruby-readline-released-0-2-0/">couple of weeks ago</a>, but still is far from perfect.</p>
<p>We are still missing IO redirect and be able to run <code>test_readline.rb</code> test directly.</p>
<p><a href="http://github.com/rdp">Roger Pack</a> worked on that, but he also needs some help <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Please, fork the project, do your changes and send your pull requests!</p>
<h3>Windows Console (win32console) new release soon.</h3>
<p>A few patches to improve 1.9 compatibility are under way.</p>
<h3>rake-compiler get more audience!</h3>
<p>That&#8217;s right folks!, rake-compiler now is being used to drive the compile and release process of native gems for DataMapper, <a href="http://groups.google.com/group/ruby-ffi/browse_thread/thread/e46d8a6a71a0ff0f"><span class="caps">FFI</span></a> and even <a href="http://groups.google.com/group/thin-ruby/browse_thread/thread/769b4a51b526aeb3">Thin</a> !</p>
<p>Not too bad for <a href="http://blog.mmediasys.com/2008/12/13/while-leaving-ny-rake-compiler-for-the-masses/">10 months old tool</a>, ah?</p>
<p>Thanks to all the developers involved in these projects for <em>caring</em> about their products and adding the compatibility for Windows.</p>
<p>More projects listed <a href="http://wiki.github.com/luislavena/rake-compiler/projects-using-rake-compiler">here</a> &#8230; Keep them coming!</p>
<h3>Ruby Installer for Windows</h3>
<p>Preview and DevKit releases has been <a href="http://rubyforge.org/frs/?group_id=167&amp;release_id=38052">moved to RubyForge</a></p>
<p>While our <em>preview</em> concept is quite stable, we are working on getting it better <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Got my certificates to deliver signed installers, how cool is that?</p>
<h3>Still alive an kicking</h3>
<p>If you think I&#8217;m quiet, please join us at <a href="http://groups.google.com/group/rubyinstaller">RubyInstaller</a> Google Group, will find out that I talk more there than here <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mmediasys.com/2009/10/06/lot-of-small-but-rewarding-news/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
