How fix error "no such file to load -- RMagick"?
add
gem 'RMagick'
or
gem "rmagick", "~> 2.13.1"
to your Gemfile
and then run
bundle
install
apt-get install libmagick9-dev
first
For those using Heroku:
gem "rmagick", "~>2.13.2", :require => 'RMagick'
Also, include the following wherever you're using it:
require 'RMagick'