This project is archived and is in readonly mode.
Rmagick doesn't work
-
Andrew White
- State changed from new to needs-more-info
- Importance changed from to Low
Vincent, this sounds very much like an issue with class reloading in development mode - the classic sign is the working on first request and not subsequent requests. It'll probably work fine in production mode or if you set config.cache_classes = true in config/environments/development.rb.
If you remove the require and include from the controller it should also work as the Gemfile should be loading RMagick anyway. I'm guessing that your running on a case sensitive filesystem so your gem line in the Gemfile should be:
gem 'rmagick', :require => 'RMagick'
