Recently I wanted to checkout the Diaspora project, and to my despair I faced lot of problems
installing it in Windows OS.
I could not install it on Windows, and I did'nt want to invest lot of time , as it was not important and I was trying
this only for killing my time. However, I installed it on a VM (Ubuntu) and faced a few problems.
This post is about keeping a note of what I faced and use it in future (if needed).
1. Issue with installing rmagick:
rmagick installation issue
ERROR: Error installing rmagick:
ERROR: Failed to build gem native extension.
checking for Ruby version >= 1.8.5... yes
checking for gcc... yes
checking for Magick-config... no
Can't install RMagick 2.13.1. Can't find Magick-config in /usr/local/bin:/bin:
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/rmagick-2.13.1/ext/RMagick/gem_make.out
Building native extensions. This could take a while....
I found a solution here but it did not work for me.
To solve the rmagick issue, run the following commands:
Run the following commands to fix issues with rmagick
If you get this:
Installing typhoeus (0.3.3) with native extensions
ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
checking for curl/curl.h in /opt/local/include,/opt/local/include/curl,/usr/include/curl,
You can fix it by installing the libcurl3-dev package: