【发布时间】:2019-09-04 21:29:43
【问题描述】:
这是我第一次尝试将 Rails v6.0.0 应用程序推送到 Heroku。错误消息是:
Could not detect rake tasks
ensure you can run `$ bundle exec rake -P` against your app
and using the production group of your Gemfile.
Activating bundler (2.0.1) failed:
Could not find 'bundler' (2.0.1) required by your /tmp/build_94b6a9e04d812c465a5480f59429532e/Gemfile.lock.
To update to the latest version installed on your system, run `bundle update --bundler`.
To install the missing version, run `gem install bundler:2.0.1`
Checked in 'GEM_PATH=vendor/bundle/ruby/2.5.0', execute `gem env` for more information
To install the version of bundler this project requires, run `gem install bundler -v '2.0.1'`
- 我可以运行“bundle exec rake -P”,没问题。
- 我已验证安装了 bundler 2.0.1,没问题。
建议?
【问题讨论】:
标签: rake bundler ruby-on-rails-6