Submitted by dukejustice on Tue, 12/22/2009 - 17:46
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
Submitted by dukejustice on Tue, 12/22/2009 - 22:21 Comment #1
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...
Submitted by JamieCameron on Tue, 12/22/2009 - 23:21 Comment #2
Do you perhaps have two copies of Ruby on the system?
Also, did that mysql symlink help any?
Submitted by dukejustice on Wed, 12/23/2009 - 14:34 Comment #3
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
Submitted by JamieCameron on Wed, 12/23/2009 - 15:37 Comment #4
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 ..
Submitted by Issues on Thu, 01/07/2010 - 19:20 Comment #5
Automatically closed -- issue fixed for 2 weeks with no activity.