Wednesday, April 29th, 2009
Mandriva – Rails 2.3.2 – mysql gem – ‘ERROR: Error installing mysql’
Problem
You are trying to install the mysql gem in Mandriva, but it fails with error messages:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension…
checking for mysql_query() in -lmysclient… no ….
Solution
After searching in google, with solutions about providing different options (– –with-mysql-config, ..etc), even trying different combinations for providing the client library path, the [...]
No Comments » - Posted in Mandriva, MySQL, linux, ruby on rails by kosmas
Thursday, October 2nd, 2008
FBML Error (line 5): illegal tag “body” under “fb:canvas”
Problem
When trying to use facebooker according to the Developing facebook platform applications with rails book, in the network_test step you are getting the following error:
FBML Error (line 5): illegal tag “body” under “fb:canvas”
Solution
It should be caused because you are using the facebooker gem instead of the plugin.
Install the plugin:
ruby script/plugin install git://github.com/mmangino/facebooker.git
No Comments » - Posted in linux, ruby on rails by kosmas
Saturday, May 24th, 2008
Upgrading Ruby on Rails application from 1.2.3 to 2.0.2
Problem
Upgrading an existing Ruby on Rails application from 1.2.3, to 2.0.2, presents few problems. I will try and keep a record of the ones I encounter along the way, here.
Solution
Change the config/environment.rb to let the application know to use the 2.0.2 gem rail version,
change the following line from:
RAILS_GEM_VERSION = ‘1.2.3′ unless [...]
No Comments » - Posted in ruby on rails by kosmas
Tuesday, April 8th, 2008
Upgrading to Rails 2.0.2 problems/solutions
Problem
Upgrading from Rails version 1.2.3 to version 2.0.2.
Following the suggestion in DH’s weblog here when using sudo gem install rails -y, it gets the trunk version of rails which at the time was 2.0.2.9216.
This causes a few problems and breaks a few more things.
Solution
In order to get back to the latest stable version, you have [...]