I live in Omaha.
 
Navigation
 
Search
 
Random Image
Hobbs 356a.jpg
 
Me. Elsewhere.
 
Archives
 
Darcy
 
Recently Read
 
Things I Like
mongodb
 
License
 

Take Me Somewhere Rework

Over the weekend I knocked out a new code base for TakeMeSomewhere.org. It’s not much, just a new look and feel as well as some back end work so that I can get fancy later.

Check It Out

Posted May 26th, 2009 - Permalink
Categories: Geek
Tags: , ,
No Comments »
 

MySQL & Ruby on Debian (sidux)

I’ve started learning Ruby on Rails, and I needed the mysql driver. Should be simple,
right? Just gem install mysql or something?

It wasn’t.

root@asuka:~# gem install mysql
Building native extensions.  This could take a while...                                                                              
ERROR:  Error installing mysql:                                                                                                      
        ERROR: Failed to build gem native extension.                                                                                 
 
/usr/bin/ruby1.8 extconf.rb
extconf.rb:1:in `require': no such file to load -- mkmf (LoadError)
        from extconf.rb:1                                          
 
 
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/mysql-2.7 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/mysql-2.7/gem_make.out
root@asuka:~#

Once tangled mess of Google, Debian, and Ruby later, I found a bug report and a solution (for me at least).

Debian Bug 373843 – Long story short, you need ruby1.8-dev or, it appears, libmysql-ruby.

Posted May 21st, 2009 - Permalink
Categories: Geek
Tags: , ,
No Comments »
 
More Posts
 
Copyright © 2006 - 2010 John Hobbs
get userping