ubuntu12.04 下安装gem报错

安装mysql2报错:Failed to build gem native extension. ruby extconf.

解决办法:sudo apt-get install libmysqld-dev

安装rmagick报错:rmagick gem install “Can't find Magick-config”

解决办法:sudo apt-get install libmagickwand-dev

你可能感兴趣的:(ubuntu,Rails,gem)