<?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; sqlite3</title>
	<atom:link href="http://www.mundoruby.com.ar/tag/sqlite3/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>Stepping up as SQLite3/Ruby maintainer</title>
		<link>http://www.mundoruby.com.ar/2009/07/13/stepping-up-as-sqlite3ruby-maintainer/</link>
		<comments>http://www.mundoruby.com.ar/2009/07/13/stepping-up-as-sqlite3ruby-maintainer/#comments</comments>
		<pubDate>Mon, 13 Jul 2009 17:43:04 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sqlite3]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=131</guid>
		<description><![CDATA[
So, I think this may be good news for some folks.
February 24, 2009 is the date that Jamis Buck marked as the end of several of his open source projects, including SQLite3/Ruby. (you can read the post here)
Previously, he asked for help updating SQLite3/Ruby to make it work on Windows.
That sad news left a lot [...]]]></description>
			<content:encoded><![CDATA[<p>
<p>So, I think this may be good news for some folks.</p>
<p>February 24, 2009 is the date that Jamis Buck marked as the end of several of his open source projects, including <span class="caps">SQL</span>ite3/Ruby. (you can read the post <a href="http://weblog.jamisbuck.org/2009/2/25/net-ssh-capistrano-and-saying-goodbye">here</a>)</p>
<p>Previously, he <a href="http://weblog.jamisbuck.org/2008/12/7/sqlite3-ruby-windows-builds">asked for help</a> updating <span class="caps">SQL</span>ite3/Ruby to make it work on Windows.</p>
<p>That sad news left a lot of us with a bad taste, and very unhappy, not because we no longer will have someone to complain at, but because he no longer enjoyed working on those projects.</p>
<p><span id="more-261"></span></p>
<p>Over the past months I&#8217;ve been improving <a href="http://github.com/luislavena/rake-compiler/">rake-compiler</a> to be able to catch most of the building issues of <a href="http://wiki.github.com/luislavena/rake-compiler/projects-using-rake-compiler">several</a> projects, including my own (I love to scratch my own itch).</p>
<p>As you have noticed on my &#8220;getting started with Rails and <span class="caps">SQL</span>ite3&#8243;: http://blog.mmediasys.com/2009/07/06/getting-started-with-rails-and-sqlite3/ post, I successfully built, installed and used a <span class="caps">SQL</span>ite3/Ruby gem on Windows.</p>
<p>The next question was, what to do? The work to get all those lovely gems was there, initial 1.9 was there, but was not <em>official</em></p>
<p>While <span class="caps">SQL</span>ite3/Ruby being the de-facto for getting started with Rails, we couldn&#8217;t let it die.</p>
<p>Enough words, sent some emails to Jamis and now I can publish those gems to RubyForge.</p>
<h3>What all that babbling means?</h3>
<p>This means:</p>
<ul>
<li><a href="http://github.com/luislavena/sqlite3-ruby">My fork</a> at GitHub is the new <em>mainstream</em> for the releases</li>
<li>I&#8217;m going to go over the open bugs and tickets and asses validity and relevancy based on work that was already done in my fork.</li>
<li>The release cycle has been improved and almost automated. It can be performed from Windows, Linux or <span class="caps">OSX, </span>even using latter to create Windows native gems.</li>
</ul>
<p>Now, what happens with new features:</p>
<ul>
<li>Pull requests with patches and bug fixes are going to be accepted.</li>
<li>New features will be evaluated as long they don&#8217;t impose structural changes and carry with them tests cases.</li>
<li>Patches that improve Ruby 1.9 compatibility are <em>highly</em> appreciated.</li>
</ul>
<p>I don&#8217;t have strong knowledge of all the internals of this tool, so don&#8217;t expect earth breaking changes from me, except ensuring stability.</p>
<p>I hope this is <em>good</em> news to everybody. Now I&#8217;m going to stalk MySQL binding author and get permission to push those lovely gems <img src='http://blog.mmediasys.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Cheers everybody!</p>
</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/07/08/stepping-up-as-sqlite3ruby-maintainer/#comments">Stepping up as SQLite3/Ruby maintainer</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/07/13/stepping-up-as-sqlite3ruby-maintainer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RubyInstaller: Getting Started with Rails and SQLite3</title>
		<link>http://www.mundoruby.com.ar/2009/07/07/rubyinstaller-getting-started-with-rails-and-sqlite3/</link>
		<comments>http://www.mundoruby.com.ar/2009/07/07/rubyinstaller-getting-started-with-rails-and-sqlite3/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 14:10:12 +0000</pubDate>
		<dc:creator>FreedomCoder</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[sqlite3]]></category>

		<guid isPermaLink="false">http://www.mundoruby.com.ar/?p=127</guid>
		<description><![CDATA[
A few folks asked this over the past weeks, and since I released preview1 version of RubyInstaller, wouldn&#8217;t be awesome I write a guide for it?
So, here we go

First, Getting Ruby
Please download from here one of the preview1 installers for Ruby.
For this demonstration, I&#8217;m going to use Ruby 1.9.1-p129. Downloaded, executed and installed to it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>
<p>A few folks asked this over the past weeks, and since I <a href="http://blog.mmediasys.com/2009/06/28/rubyinstaller-preview1-released/">released preview1</a> version of RubyInstaller, wouldn&#8217;t be awesome I write a guide for it?</p>
<p>So, here we go</p>
<p><span id="more-233"></span></p>
<h3>First, Getting Ruby</h3>
<p>Please download <a href="http://rubyinstaller.org/downloads/">from here</a> one of the preview1 installers for Ruby.</p>
<p>For this demonstration, I&#8217;m going to use Ruby 1.9.1-p129. Downloaded, executed and installed to it&#8217;s default location <code>C:\Ruby19</code></p>
<p>Now, start a Command prompt with Ruby (under start menu, inside Ruby 1.9.1-p129).</p>
<p><img src="http://blog.mmediasys.com/wp-content/uploads/2009/07/prompt.png" alt="Command Prompt with Ruby" title="Command Prompt with Ruby" width="515" height="365" class="alignnone size-full wp-image-238" /></p>
<h3>Getting <span class="caps">SQL</span>ite3</h3>
<p>As you may know, Windows do not came out of the box with libraries like <span class="caps">SQL</span>ite3. For this, we are going to download it from Internet.</p>
<p>Going to <a href="http://sqlite.org/download.html"><span class="caps">SQL</span>ite downloads</a>, under <em>Precompiled binaries for Windows</em>, download <code>sqlitedll-3_6_16.zip</code> and <code>sqlite-3_6_16.zip</code>. Those two packages contains the <span class="caps">DLL </span>(sqlite3.dll) and the command line executable for <span class="caps">SQL</span>ite (sqlite3.exe).</p>
<p>Please extract those contents inside <code>C:\Ruby19\bin</code></p>
<p>Now, let&#8217;s get the Ruby bindings for <span class="caps">SQL</span>ite3</p>
<h3>Getting <span class="caps">SQL</span>ite3/Ruby bindings</h3>
<p>As you may know, the preferred way to distribute Ruby libraries is using Gems. Users on other platforms usually compile themselves these components, using the mechanisms provided by the operating system distribution.</p>
<p>We are going to avoid the compilation process using pre-compiled binaries that has been <em>cooked</em> for us.</p>
<p>So, back to the Command Prompt with Ruby, let&#8217;s install the sqlite3 bindings:</p>
<pre>gem install sqlite3-ruby --source http://gems.rubyinstaller.org</pre>
<p>Adding <code>--source</code> help us indicate a non-standard location from where gems are going to be installed. RubyInstaller team has built and packaged special versions of these gems that we hope get published soon into RubyForge, the official place for gem distribution.</p>
<p>Once installed, you should see something like this at the screen:</p>
<pre>Successfully installed sqlite3-ruby-1.2.4.1-x86-mingw32
1 gem installed</pre>
<p>These special version of the gem are <em>fat binaries</em>, which means these can be safely installed on Ruby 1.8.6 or 1.9.1.</p>
<h3>Getting Rails</h3>
<p>Now it&#8217;s time to install and build a Rails application. First, let&#8217;s install the rails gem:</p>
<pre>gem install rails</pre>
<p>That command is going to take a bit, since is a 2MB or so download, and will install several of the Rails dependencies (ActiveRecord, ActionPack, ActiveSupport, etc). You should expect similar output to this:</p>
<pre>Successfully installed activesupport-2.3.2
Successfully installed activerecord-2.3.2
Successfully installed actionpack-2.3.2
Successfully installed actionmailer-2.3.2
Successfully installed activeresource-2.3.2
Successfully installed rails-2.3.2
6 gems installed</pre>
<p>Let&#8217;s build our application now.</p>
<h3>Creating a Rails application.</h3>
<p>Let&#8217;s call the application <code>railsapp</code></p>
<pre>rails railsapp</pre>
<p>An excerpt of the output you should get:</p>
<pre>      create
      create  app/controllers
      create  app/helpers
      create  app/models
      create  app/views/layouts
      create  config/environments
      create  config/initializers
      create  config/locales
      create  db
...</pre>
<p>Rails 2.3.2 defaults it&#8217;s database format to <span class="caps">SQL</span>ite3, so there is no need for us to tweak anything.</p>
<p>Checking if everything is ok, using <code>script\about</code>:</p>
<pre>cd railsapp
ruby script\about</pre>
<p>And the output should be something like this:</p>
<pre>About your application's environment
Ruby version              1.9.1 (i386-mingw32)
RubyGems version          1.3.4
Rack version              1.0 bundled
Rails version             2.3.2
Active Record version     2.3.2
Action Pack version       2.3.2
Active Resource version   2.3.2
Action Mailer version     2.3.2
Active Support version    2.3.2
Application root          C:/Users/Luis/railsapp
Environment               development
Database adapter          sqlite3
Database schema version   0</pre>
<p>Now, it&#8217;s up to you create your models, controllers and everything.</p>
<h3>Some notes and considerations.</h3>
<p>At the time of this writing, Mongrel has not been updated to build and install properly either on 1.9 or MinGW versions of Ruby.</p>
<p>As part of Mongrel development team, I&#8217;m going to work on a solution for this in the upcoming days.</p>
<p>If you find something wrong with the Ruby Installer, please report <a href="http://rubyforge.org/tracker/?atid=715&amp;group_id=167&amp;func=browse">here</a>, but issues with your code, Rails or other are not responsability of RubyInstaller.</p>
<p>The binary gems provided at <code>gems.rubyinstaller.org</code> are based on our forks of sqlite3-ruby, which can be cloned and explored <a href="http://github.com/luislavena/sqlite3-ruby">here</a> at GitHub.</p>
<p>Keep in mind that some gems would not work under Ruby 1.9, or you will need a compiler (DevKit) for it. See previous post with details how to get those from our download page.</p>
</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/07/06/getting-started-with-rails-and-sqlite3/#comments">RubyInstaller: Getting Started with Rails and SQLite3</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/07/07/rubyinstaller-getting-started-with-rails-and-sqlite3/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

