make setup的时候报错

Step 16/19 : RUN bundle install --jobs 20 --retry 5 --without development test
—> Running in 9ab64ab65a49
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java.
Fetching gem metadata from
Your bundle is locked to mimemagic (0.3.3), 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.3) has removed it. You’ll need to update
your bundle to a version other than mimemagic (0.3.3) that hasn’t been removed
in order to install.
ERROR: Service ‘app’ failed to build: The command ‘/bin/sh -c bundle install --jobs 20 --retry 5 --without development test’ returned a non-zero code: 7

貌似 mimemagic (0.3.3) 没有了

mimemagic 作者改了开源协议, 0.3.5 以前的版本都被 yanked 了



gem 'mimemagic', github: 'mimemagicrb/mimemagic', ref: '01f92d86d15d85cfd0f20dabd025dcbd36a8a60f'

谢谢 我去试试

Successfully built a337c3892c48
Successfully tagged re-birth_sidekiq:latest
docker-compose run --rm app bundle exec rake db:setup
Creating network “re-birth_default” with the default driver
Creating re-birth_db_1 … done
Creating re-birth_redis_1 … done
The git source is not yet checked out. Please run bundle install before trying to start your application
make: *** [setup] Error 11