railsでHerokuにデプロイしようとした時にエラーが出てしまいました。
エラーの対処法をご教授いただけると幸いです。
OS: Mac
発生している問題・エラーメッセージ
抜粋します。
remote: ! Failed to install gems via Bundler.
remote: ! Detected sqlite3 gem which is not supported on Heroku:
remote: ! https://devcenter.heroku.com/articles/sqlite3
remote: !
remote: ! ## Warning - The same version of this code has already been built: 276a00dc8a4450ec2f407e2489e0f4e9fdf6a0d8
remote: !
remote: ! We have detected that you have triggered a build from source code with version 276a00dc8a4450ec2f407e2489e0f4e9fdf6a0d8
remote: ! at least twice. One common cause of this behavior is attempting to deploy code from a different
To https://git.heroku.com/protected-escarpment-11391.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/protected-escarpment-11391.git'
% bundle install --without production
[DEPRECATED] The --without
flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use bundle config set --local without 'production'
, and stop using this flag
Your Ruby version is 2.6.3, but your Gemfile specified 2.6.6
% gem install bundler
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.6.0 directory.
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。