gpt4 book ai didi

Heroku部署错误: 'sh: Syntax error: EOF in backquote substitution' and undefined local variable or method `install_language_pack_gems'

转载 作者:行者123 更新时间:2023-12-02 09:59:15 32 4
gpt4 key购买 nike

Heroku Deploy for Rails 应用程序当前失败。我收到以下错误消息。我没有更改任何 gems 或 Rails 代码,只是更改了一些静态 HTML 和 CSS 文件。

-----> Ruby app detected
-----> Compiling Ruby/Rails
-----> Using Ruby version: ruby-2.0.0
-----> Installing dependencies using 1.5.2
Ruby version change detected. Clearing bundler cache.
Old: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
New: ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-linux]
sh: Syntax error: EOF in backquote substitution
sh: Syntax error: EOF in backquote substitution
/app/tmp/buildpacks/ruby/lib/language_pack/ruby.rb:760:in `block in purge_bundler_cache': undefined local variable or method `install_language_pack_gems' for #<LanguagePack::Rails4:0x00000001974ab8> (NameError)

最佳答案

这是 Heroku 的错。也许只是一些缓存问题,但也许他们只是破坏了一些东西。不管怎样,解决方案是设置 BUILDPACK_URL让您的应用程序指向最新的 Ruby Heroku 构建包:


heroku config:set BUILDPACK_URL=https://github.com/heroku/heroku-buildpack-ruby -a <app-name>

关于Heroku部署错误: 'sh: Syntax error: EOF in backquote substitution' and undefined local variable or method `install_language_pack_gems' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21447602/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com