【发布时间】:2018-04-16 19:56:14
【问题描述】:
我一直在使用 Rails 的 5-2-stable 分支的 Rails 5.2 来使用 ActiveStorage,现在我正在更新一堆应用程序以再次使用已发布的版本。正如issue 中提到的,来自 Github 的 rails 版本都需要coffee_script。现在我想删除coffee。
我无法在本地环境或 CI 上重新创建它,但是在部署到 Heroku 时失败:
LoadError: cannot load such file -- coffee_script
/tmp/build_2b0eaffa6f7fd662e3233ac5b4de6d62/vendor/bundle/ruby/2.5.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
我在我的代码中找不到任何提及咖啡的内容。
这可能是 Herkou 或类似的缓存问题吗?欢迎提供任何线索。
gemfile 失败
https://github.com/fsek/voting/blob/50d063d16ae8d323f0cfe57e5bb6b4299c592019/Gemfile
工作 gemfile(独立项目,可部署)
https://github.com/pensionsupplysning/web/blob/cb256668640e38af4b59e8cf23fbfa939728abb7/Gemfile
【问题讨论】:
标签: ruby-on-rails heroku