【发布时间】:2021-05-06 23:40:06
【问题描述】:
我在尝试部署到 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. cannot load such file -- bootsnap/setup (LoadError)
导轨 5.4.4.2 红宝石 2.6.3 启动快照 1.7.0 Heroku 堆栈 18
【问题讨论】:
-
你能在本地运行那个命令吗?你能在你的 Gemfile 中过去吗?
-
@Msencenb
bundle exec rake -Pjsut 列出可行的任务
标签: ruby-on-rails ruby heroku rake bootsnap