Я получаю следующую ошибку при попытке запустить приложение rails: -
/ opt / ruby-enterprise-1.8.7-2010.02 / lib / ruby / gems / 1.8 / gems / rmagick-2.12.2 / lib / RMagick2.so: libMagickCore.so.4: невозможно открыть файл общего объекта: нет такого файла или каталога - /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rmagick-2.12.2/lib/RMagick2.so (LoadError) из /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
require'из /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in new_constants_in'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
require' из / opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rmagick-2.12.2/lib/RMagick.rb:11 из /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby / site_ruby / 1.8 / rubygems / custom_require.rb: 36: в gem_original_require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in
require 'from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib / active_support / dependencies.rb: 509: в require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
new_constants_in 'из / opt / ruby-enterprise-1.8.7-2010.02 / lib / ruby / gems / 1.8 / gems / activesupport-2.1.0 / lib / active_support / dependencies.rb: 509: в require'
from /home/amol/Amol_Backup/AMOL_BACKUP_20091021/PROJECTS/Fitsmi/life180/config/environment.rb:12
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require 'из /opt/ruby-enterprise-1.8.7-2010.02/lib / ruby / site_ruby / 1.8 / rubygems / custom_require.rb: 31: в require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
require 'from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0 / lib / active_support / dependencies.rb: 354: в new_constants_in'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:509:in
require 'from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/command / servers / webrick.rb: 59 из /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
require 'из / opt / ruby-enterprise-1.8.7-2010.02 / lib / ruby / gems / 1.8 / gems / activesupport-2.1.0 / lib / active_support / зависимости.rb: 509: в require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/activesupport-2.1.0/lib/active_support/dependencies.rb:354:in
new_constants_in 'из /opt/ruby-enterprise-1.8.7-2010.02 / lib / ruby / gems / 1.8 / gems / activesupport-2.1.0 / lib / active_support / dependencies.rb: 509: в require'
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rails-2.1.0/lib/commands/server.rb:39
from /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
gem_original_require 'из /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `требуемыйire 'из скрипта / сервера: 3
Файл RMagick2.so присутствует по указанному пути /opt/ruby-enterprise-1.8.7-2010.02/lib/ruby/gems/1.8/gems/rmagick-2.12.2/lib.
Ниже приведены версии, которые использует мое приложение: -
rails 2.3.5
ruby 1.8.7 (2009-12-24 patchlevel 248) [x86_64-linux], MBARI 0x6770, Ruby Enterprise Edition 2010.02
rmagick (2.12.2)
imagemagick 6.2.8.0-4.el5-5.3
Операционная система: - Centos 5
Заранее спасибо ....