When Trying to Install Redmine on CentOS 5.9, RMagick Fails to Install → Use su - Instead of sudo

Linux
2014-04-07 18:49 (10 years ago) ytyng

I tried to install Redmine on Cent OS 5.9.

*** extconf.rb failed ***

gem install rmagick -v '2.13.2'

I forgot to capture the error message, but using sudo gem install rmagick -v '2.13.2' failed.

→ Instead of using sudo, I switched to the superuser with su - and then,

# gem install rmagick -v '2.13.2'

the installation went smoothly.

I was stuck for quite a while...

On Redhat-based systems, it's better not to use sudo! I should have followed the proper conventions.

Currently unrated

Comments

Archive

2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011