nicholasjon.com

Ruby and MySQL on Ubuntu

When installing Ruby, Rails, and MySQL on Ubuntu remember the following when you get to the database part and you’ll be fine:

apt-get install mysql-server apt-get install mysql-client apt-get install libmysqlclient15-dev gem install mysql -- --with-mysql-dir=/usr/bin --with-mysql-config=/usr/bin/mysql_config

I always forget the development libraries, and that makes compiling the native Ruby bindings difficult to say the least.

Continue Reading

Comments

Posted by John Zeratsky at 9:02pm on 1/20/2007

Ubuntu … exciting! One of our developers at FeedBurner just switched to Ubuntu desktop and I’m a little jealous. It’s pretty cool.


Posted by Nick at 9:17am on 1/21/2007

The desktop edition of Ubuntu is pretty good, though last time I tried it I thought it was a little on the sluggish side. Of course, this could entirely have been due to the fact that I tend to try out linux distributions on old hardware.

I’m actually in the process of putting together a media server out of an old desktop machine I had sitting around, so the Ubuntu of which I speak is in fact Ubuntu Server, which I’d never worked with before. I’m becoming quite the fan of apt when it comes to saving time and gathering up dependencies, though I pretentiously admit I did choose to compile the “important stuff” from source.

A full demo of the media server is forthcoming — maybe even as a video blog.


Posted by John Zeratsky at 11:49am on 1/21/2007

Nice. I look forward to hearing about the media server…


Loading comment form Please wait...