When Trying to Install Redmine on CentOS 5.9, RMagick Fails to Install → Use su - Instead of sudo
Linux
2014-04-07 09:49 (11 years ago)

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
The author runs the application development company Cyberneura.
We look forward to discussing your development needs.
We look forward to discussing your development needs.