Я пытаюсь использовать "carrierWave". Я установил «imagemagic», используя homebrew, и rmagic, и самоцветы несущей волны.
Когда я запускаю rails g uploader image
, я получаю эту ошибку в терминале -
Буду признателен за любую помощь
Шани
shannoga $ rails g uploader image
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0/gems/rmagick-2.13.1/lib/rmagick.rb:11:in
require':
dlopen(/Users/shannoga/.rvm/gems/ruby-1.9.3-p0/gems/rmagick-2.13.1/lib/RMagick2.bundle,
9): Library not loaded: /usr/X11/lib/libfreetype.6.dylib (LoadError)<br>
Referenced from: /usr/local/lib/libMagickCore.5.dylib Reason:
Incompatible library version: libMagickCore.5.dylib requires version
14.0.0 or later, but libfreetype.6.dylib provides version 13.0.0 - /Users/shannoga/.rvm/gems/ruby-1.9.3-p0/gems/rmagick-2.13.1/lib/RMagick2.bundle
from
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0/gems/rmagick-2.13.1/lib/rmagick.rb:11:in
'от
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.22/lib/bundler/runtime.rb:68:in
require' from
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.22/lib/bundler/runtime.rb:68:in
блок (2 уровня) по требованию от
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.22/lib/bundler/runtime.rb:66:in
each' from
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.22/lib/bundler/runtime.rb:66:in
блок требует 'от
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.22/lib/bundler/runtime.rb:55:in
each' from
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.22/lib/bundler/runtime.rb:55:in
требуют 'от
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.0.22/lib/bundler.rb:122:in
require' from
/Users/shannoga/SITES/ANGELS_APP_CMS/config/application.rb:7:in
'от
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.1/lib/rails/commands.rb:24:in
require' from
/Users/shannoga/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.1/lib/rails/commands.rb:24:in
'из сценария / рельсов: 6: in require' from
script/rails:6:in
'