git push heroku master
を行ったのですが
error
1! Warning: Multiple default buildpacks reported the ability to handle this app. The first buildpack in the list below will be used. 2 Detected buildpacks: Ruby,Node.js 3 See https://devcenter.heroku.com/articles/buildpacks#buildpack-detect-order 4-----> Ruby app detected 5-----> Installing bundler 2.1.4 6-----> Removing BUNDLED WITH version in the Gemfile.lock 7-----> Compiling Ruby/Rails 8-----> Using Ruby version: ruby-2.7.2 9###### WARNING: 10 Removing `Gemfile.lock` because it was generated on Windows. 11 Bundler will do a full resolve so native gems are handled properly. 12 This may result in unexpected gem versions being used in your app. 13 In rare occasions Bundler may not be able to resolve your dependencies at all. 14 15 https://devcenter.heroku.com/articles/bundler-windows-gemfile 16-----> Installing dependencies using bundler 2.1.4 17 Running: BUNDLE_WITHOUT='development:test' BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin bundle install -j4 18 /usr/bin/env: ‘ruby\r’: No such file or directory 19 Bundler Output: /usr/bin/env: ‘ruby\r’: No such file or directory 20 ! 21 ! Failed to install gems via Bundler. 22 ! 23 ! Push rejected, failed to compile Ruby app. 24 ! Push failed
となってしまいデプロイ出来ません。
bundlerを2.1.4に変更して、bundler install 等試みたのですが解決しませんでした。
アドバイスの程よろしくお願いします。
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2021/01/10 22:20
2021/01/11 14:34