Posted on Jul 25, 2009

SQLite3/Ruby 1.2.5 Released!

I just released an updated version of SQLite3/Ruby, officially to RubyForge!

Read the news here

This release includes binaries for Windows, but not any kind of binary, but fat ones!

That means that using either 1.8 or 1.9 versions of Ruby you will be able to access SQLite3/Ruby bindings and script your craziest applications!

This also solves the major PITA for gem update that lot of user experienced in the past.

Don’t forget to read a getting started guide here

Now is time to hunt down MySQL gem author and politely ask him integrate my patches ;)

9 Comments

  • AkitaOnRails says:

    Awesome, at last no more trouble gem updating :-) Thanks.

  • Luis says:

    Hey Fabio, there is more!

    Now you can:

    SQLite3::Database.new(":memory:") do |db|
      db.execute "..."
    end
    

    Similar to File.open and File.new block functionality!

  • Thomas says:

    Hey Luis,

    Sorry for posting this as a comment, I wasn’t sure how to get a hold of you via other means.

    I’ve been using your latest version of RubyInstaller for 1.9.x — works great btw — love that you’ve stripped out all the gunk, and keep it lean and mean, leaving the rest to gems. However, I tried to install mongrel, but it installs a 1.8.x gem which doesn’t work; Any chance of getting a 1.9.x build for that?

    Thanks

  • Luis Lavena says:

    Hello Thomas.

    You can reach me over rubyinstaller-devel mailing list google groups (ruby-talk) and all the comments to the blog articles, I read them all and get alerts :)

    To your question:

    I commented here (at the bottom) that Mongrel was not to work either on 1.9 or MinGW.

    On my previous post about SQLite3, you can read my comment about Mongrel:

    http://blog.mmediasys.com/2009/07/08/stepping-up-as-sqlite3ruby-maintainer/#comment-1302

    Cheers.

  • Thomas says:

    Luis: Thanks for the reply; I did see it on the rubyinstaller gem repo, but it wouldn’t install due to lack of gem_plugin; Silly me didn’t think to just install gem_plugin first from the normal repos. :)

    It seems to work fine on 1.9.1 preview1 with that gem, thanks. :)

    Aside: Any timeline for a final ruby installer release, and getting mongrel into the normal repos?

  • Luis says:

    Thomas:

    Yes, only a early test version of Mongrel, maybe it would experience some issues, couldn’t commit some free time to it.

    As for the timeline:

    http://rubyforge.org/pipermail/rubyinstaller-devel/2009-July/000770.html

  • erwann says:

    Hi Luis,

    “Now is time to hunt down MySQL gem author and politely ask him integrate my patches”
    Does it mean that we could have a working mysql gem with your great rubyinstaller1.8.6 without getting the famous “ERROR: Failed to build gem native extension”?
    I don’t remember having this issue with the old OneClickInstaller

  • erwann says:

    Thanks Luis It works perfectly!