November 2008
6 posts
1 tag
sqlite3-ruby and do_sqlite3 don't play well...
After recently installing merb 1.0.1 with datamapper 0.9.7, it appears that datamapper’s do_sqlite3 gem and the sqlite3-ruby gem (used by Rails) do not play nicely together. MissingSourceFile: no such file to load -- sqlite3 from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require' The solution was to remove the do_sqlite3 gem until it has been fixed.
Nov 26th
2 tags
Generating a Rails application with a specific gem...
I know I’ve seen this elsewhere once or twice, but I can never find it when I need it. So, if you’ve got several rails gems installed (like me): $ gem list rails *** LOCAL GEMS *** rails (2.2.2, 2.1.2, 2.1.1, 2.1.0) And you’re looking to generate a new Rails application from a specific, not-most-recent version, you’ll need to do the following: $ rails _2.1.1_...
Nov 24th
2 tags
Slightly better performance in Ruby Liquid 1.9.0
With the not even close to recent release of Liquid 1.9.0, I figured I’d clean the dust off of my template benchmark suite and see how the new code lines up with the past: Liquid 1.7.0: user system total real Attribute Access (Liquid) 0.020000 0.000000 0.020000 ( 0.023265) Conditional Complex (Liquid) 0.030000 0.000000 ...
Nov 14th
Nov 2nd
rankmaniac
Ok, so forgive me for talking about a link posted on Reddit, but this is slightly amusing (at least, to me..). So, there is a TA at CMU who is giving his students an assignment to get a single web page to rank higher in a Google search than his own, when searching for “rankmaniac”. So, one smart student, got his entry listed on Digg and Reddit, mainly by explaining the purpose and...
Nov 2nd
1 tag
Nov 1st