installing scripts fails with error message

Hi installing script redmine 0.8.6 and 0.8.7 fails with error messages.

Rails MySQL driver install failed :

INFO: gem install -y is now default and will be removed INFO: use --ignore-dependencies to install only the gems you list ERROR: Error installing mysql: mysql requires Ruby version >= 1.8.6

Ruby is updated to 1.9.1p376 on the server while virtualmin keeps asking for >=1.8.6

Please advise.

Status: 
Closed (fixed)

Comments

did a ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock since the install script is looking for /tmp while another part of the install scripts looks for /var/lib...

Do you perhaps have two copies of Ruby on the system?

Also, did that mysql symlink help any?

yes, it was impossible 4 me to update because the packages didn't exist, so I compiled/installed.

yes the symlink got it to work.

thanks

Ok, cool .. it looks like the underlying cause was a disagreement between MySQL and ruby as to the location of the mysql socket file. This can happen if they were installed from different sources ..

Automatically closed -- issue fixed for 2 weeks with no activity.