• Happy Coding

Archive for December, 2008

no such file to load — mysql

I got the error

no such file to load — mysql

when running my Rails application. After that i tried to install the mysql gem module using

sudo gem install mysql

but it gave me an error saying:

ERROR:  Error installing mysql:
ERROR: Failed to build gem native extension.

I then included a parameter to the install command which showed the path to the mysql_config file

sudo gem install mysql --with-mysql-config=/usr/local/mysql/bin/mysql_config

That did the trick.

undefined method `cache_template_loading=’ for ActionView::Base:Class

I got the following error message when trying to run a Rails application with passenger after updating Rails:

undefined method `cache_template_loading=’ for ActionView::Base:Class

I had to comment or remove the line

config.action_view.cache_template_loading = true

in the production.rb file to fix the problem.

Nice Firefox Themes

I was just looking for some nice Firefox Themes for me and finally found some. And because i don’t want to forget them, i try to collect my favorites in this blog posting. :) So here we go:

Chromifox (get it here)