After upgrading to Rails 3.0 Library rmagick longer be detected. Here is my setup:
Ubuntu server 10.4
gem 1.7.2
ruby 1.9.1
rails 3.0.7
rmagick-2.13.1
In irb can include library:
irb(main):002:0> require 'RMagick'
=> true
In rails 2 rmagick is available.
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'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With