Please, people
Not use rMagic
It fucking machine will be eat all your memory
On Apr 13, 2010, at 7:03 PM, Christophe Decaux wrote:

> First, pardon me if this is not the right forum.
> 
> I'm banging my head on the wall for a day now with a RMagick installation 
> issue.
> 
> I installed ImageMagick and RMagick both from source. They compiled with 
> problems. (I had some issues with fonts, but that's over)
> 
> In the ruby console, this works :
> Loading development environment (Rails 2.3.5)
>>> require 'RMagick'
> => []
> 
> However, in my controller file the following command 
> 
> require 'RMagick' 
> produces : 
> 
> MissingSourceFile in ImagesController#serve_image
> 
> no such file to load -- RMagick
> RAILS_ROOT: /srv/d_prod/www/cobra
> 
> Application Trace | Framework Trace | Full Trace
> /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
>  `gem_original_require'
> /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
>  `require'
> /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
>  `require'
> /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:521:in
>  `new_constants_in'
> /opt/ruby-enterprise-1.8.7-2010.01/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:156:in
>  `require'
> /srv/d_prod/www/cobra/lib/image_tools.rb:1
> /srv/d_prod/www/cobra/app/models/image.rb:17:in `thumbnail!'
> /srv/d_prod/www/cobra/app/controllers/images_controller.rb:6:in `serve_image'
> 
> This error occurred while loading the following files:
>   RMagick
> 
> 
> After googling around, I tried the following:
> - Install RMagick as a gem = no change
> - Uninstall RMagick as a gem = no change
> - change the require 'RMagick' to 'rmagick' = no change (actually worse as 
> the same command in console will fail)
> - add require 'rubygems' = no change
> 
> Anyone has a clue ? 
> 
> Thanks,
> 
> Christophe
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/rubyonrails-talk?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to