ruby on rails - Requiring "RMagick" is deprecated. Use "rmagick" instead.FactoryGirl -
when create object via factorygirl , faker, shell show me error
[1] pry(main)> factorygirl.create(:company) [deprecation] requiring "rmagick" deprecated. use "rmagick" instead
but when create object in development db - it's ok
there factory
factory :company title faker::company.name image faker::avatar.image("my-own-slug", "200x200") end
how fix?
this dues carrierwave when execution comes line image faker::avatar.image("my-own-slug", "200x200")
.
there issue on carrierwave closed , fix merged. either include github commit in gemfile, or wait next gem release.
Comments
Post a Comment