rmagick gem install “Can’t find Magick-config”

When building native Ruby gems, sometimes you’ll get an error containing “ruby extconf.rb”. This is often caused by missing development libraries for the gem you’re installing, or even Ruby itself. Do you have apt installed on your machine? If not, I’d recommend installing it, because it’s a quick and easy way to get a lot … Read more

Can’t install Ruby under Lion with RVM – GCC issues

This answer was edited multiple times and now contains several alternative solutions. Try the simple “Edit 3” solution first. Ruby 1.9.3-p125 and later have official support for clang, so if you are installing such a version you should not need GCC. If you’re installing an older version of Ruby, read on. To compile Ruby with … Read more

SSL Error When installing rubygems, Unable to pull data from ‘https://rubygems.org/

For RVM & OSX users Make sure you use latest rvm: rvm get stable Then you can do two things: Update certificates: rvm osx-ssl-certs update all Update rubygems: rvm rubygems latest For non RVM users Find path for certificate: cert_file=$(ruby -ropenssl -e ‘puts OpenSSL::X509::DEFAULT_CERT_FILE’) Generate certificate: security find-certificate -a -p /Library/Keychains/System.keychain > “$cert_file” security find-certificate … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)