LoginSignup
0
0

More than 3 years have passed since last update.

mimemagicが無くてbundle installができない!!

Last updated at Posted at 2021-04-08

概要

本日、EC2で自動デプロイの設定を行い、実行しようとしたらこんなエラーが!!

bundle stdout: Nothing written
bundle stderr: Your bundle is locked to mimemagic (0.3.5), but that version could not be found
in any of the sources listed in your Gemfile. If you haven't changed sources,
that means the author of mimemagic (0.3.5) has removed it. You'll need to update
your bundle to a version other than mimemagic (0.3.5) that hasn't been removed
in order to install.

起きていたこと

Railsの一部であるactivestorageが依存しているmimemagic gemが、ライセンス関連の問題でrubygems.orgから取り下げられました。これにより、mimemagic <= 0.3.5に依存しているRailsアプリがbundle installに失敗するようになっていた。

解決策

-gem 'rails', '~>  6.0.3.5'
+gem 'rails', '~>  6.0.3.6'

参考

0
0
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
0
0