I installed imagemagick success,
development]# convert -version Version: ImageMagick 6.6.3-4 2010-08-11 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC Features: OpenMP
and rmagick 2.13.1 success too. and I test with such script.
require 'rubygems' require 'RMagick'
Magick::Image.new(110, 30){self.background_color = 'white'}.write('/var/www/rails/development/public/test.jpg')
and the test.jpg generated success .
but on my app, I use simpleCaptcha (base on rmagick) to generate a captcha. then I found such errors:
Magick::ImageMagickError (Postscript delegate failed
/tmp/magick-XXA7JtQ8': @ error/ps.c/ReadPSImage/779:
(null)'): passenger (2.2.15) lib/phusion_passenger/rack/request_handler.rb:92:inprocess_request' passenger (2.2.15) lib/phusion_passenger/abstract_request_handler.rb:207:in
main_loop' passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:441:instart_request_handler' passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:190:in
spawn_application!' passenger (2.2.15) lib/phusion_passenger/utils.rb:252:insafe_fork' passenger (2.2.15) lib/phusion_passenger/railz/application_spawner.rb:153:in
spawn_application!' passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:263:inspawn_rails_application' passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:80:in
synchronize' passenger (2.2.15) lib/phusion_passenger/abstract_server_collection.rb:79:insynchronize' passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:246:in
spawn_rails_application' passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:145:inspawn_application' passenger (2.2.15) lib/phusion_passenger/spawn_manager.rb:278:in
handle_spawn_application' passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in__send__' passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:352:in
main_loop' passenger (2.2.15) lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
and accoring to nginx. I got such errors:
CRIT: rangecheck in .setuserparams Operand stack: --nostringval-- --nostringval-- --nostringval-- CRIT: rangecheck in .setuserparams Operand stack: --nostringval-- --nostringval-- --nostringval-- CRIT: rangecheck in .setuserparams Operand stack: --nostringval-- --nostringval-- --nostringval-- CRIT: rangecheck in .setuserparams Operand stack: --nostringval-- --nostringval-- --nostringval-- CRIT: rangecheck in .setuserparams Operand stack: --nostringval-- --nostringval-- --nostringval-- CRIT: rangecheck in .setuserparams Operand stack: --nostringval-- --nostringval-- --nostringval--
anybody can help me?