mimemagic問題でFailed to install gems via Bundler.が出ると言うことを調べると出てきて
下記の記事のshared-mime-infoのインストールで対応しましたがエラーが直りません
原因はなんでしょうか?ご教授のほどよろしくお願いします。
mimemagic問題
ターミナル Installing dependencies using bundler 2.2.16 remote: Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 bundle install -j4 remote: Your Gemfile lists the gem sqlite3 (>= 0) more than once. remote: You should probably keep only one of them. remote: Remove any duplicate entries and specify the gem only once. remote: While it's not a problem now, it could cause errors if you change the version of one of them later. remote: Fetching gem metadata from https://rubygems.org/............ remote: Your bundle is locked to mimemagic (0.3.3) from rubygems repository remote: https://rubygems.org/ or installed locally, but that version can no longer be remote: found in that source. That means the author of mimemagic (0.3.3) has removed it. remote: You'll need to update your bundle to a version other than mimemagic (0.3.3) that remote: hasn't been removed in order to install. remote: Bundler Output: Your Gemfile lists the gem sqlite3 (>= 0) more than once. remote: You should probably keep only one of them. remote: Remove any duplicate entries and specify the gem only once. remote: While it's not a problem now, it could cause errors if you change the version of one of them later. remote: Fetching gem metadata from https://rubygems.org/............ remote: Your bundle is locked to mimemagic (0.3.3) from rubygems repository remote: https://rubygems.org/ or installed locally, but that version can no longer be remote: found in that source. That means the author of mimemagic (0.3.3) has removed it. remote: You'll need to update your bundle to a version other than mimemagic (0.3.3) that remote: hasn't been removed in order to install. remote: remote: ! remote: ! Failed to install gems via Bundler. remote: ! remote: ! Push rejected, failed to compile Ruby app. remote: remote: ! Push failed remote: ! remote: ! ## Warning - The same version of this code has already been built: e344d8d12487b25f1b4ff06e2b4de252b350f9b2 remote: ! remote: ! We have detected that you have triggered a build from source code with version e344d8d12487b25f1b4ff06e2b4de252b350f9b2 remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different branch. remote: ! remote: ! If you are developing on a branch and deploying via git you must run: remote: ! remote: ! git push heroku <branchname>:main remote: ! remote: ! This article goes into details on the behavior: remote: ! https://devcenter.heroku.com/articles/duplicate-build-version remote: remote: Verifying deploy... remote: remote: ! Push rejected to ryutanew. remote: To https://git.heroku.com/ryutanew.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'https://git.heroku.com/ryutanew.git'
回答1件
あなたの回答
tips
プレビュー