LoginSignup
8
8

More than 5 years have passed since last update.

Heroku で rmagick を使う時の注意点。

Posted at

下記のように Gemfile に require を明示してあげないといけない。

gem "rmagick", '~> 2.13.1', :require => 'RMagick'

stackoverflow に曰く

require is CAsE SeNSITIvE

とのことで大文字小文字に気をつけろと。

OSXとかでは特に問題がないのに、heroku上ではエラーになるから気づきにくい。

8
8
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
8
8