代码之家  ›  专栏  ›  技术社区  ›  stevec Zxeenu

Heroku坚持“检测耙子”?

  •  0
  • stevec Zxeenu  · 技术社区  · 3 年前

    我不知道为什么,但是 git push heroku master 流畅地/预期地工作,直到:

    remote:        Bundle complete! 21 Gemfile dependencies, 67 gems now installed.
    remote:        Gems in the groups 'development' and 'test' were not installed.
    remote:        Bundled gems are installed into `./vendor/bundle`
    remote:        Post-install message from sass:
    remote:        
    remote:        Ruby Sass has reached end-of-life and should no longer be used.
    remote:        
    remote:        * If you use Sass as a command-line tool, we recommend using Dart Sass, the new
    remote:          primary implementation: https://sass-lang.com/install
    remote:        
    remote:        * If you use Sass as a plug-in for a Ruby web framework, we recommend using the
    remote:          sassc gem: https://github.com/sass/sassc-ruby#readme
    remote:        
    remote:        * For more details, please refer to the Sass blog:
    remote:          https://sass-lang.com/blog/posts/7828841
    remote:        
    remote:        Bundle completed (211.55s)
    remote:        Cleaning up the bundler cache.
    remote: -----> Detecting rake tasks
    

    然后它在这里挂了10多分钟。我最终按下了 控制 + c 取消并重试,我目前再次等待,这次有计时器: 8分钟 14分钟 18分钟 30分钟 40分钟 总共54分钟(从“检测耙子任务”首次出现时算起)

    那么

    remote:        * For more details, please refer to the Sass blog:
    remote:          https://sass-lang.com/blog/posts/7828841
    remote:        
    remote:        Bundle completed (211.55s)
    remote:        Cleaning up the bundler cache.
    remote: -----> Detecting rake tasks
    error: RPC failed; curl 18 transfer closed with outstanding read data remaining
    fatal: the remote end hung up unexpectedly
    fatal: the remote end hung up unexpectedly
    Everything up-to-date
    

    笔记

    heroku status
    Apps:      No known issues at this time.
    Data:      No known issues at this time.
    Tools:     No known issues at this time.
    

    版本

    ruby --version
    ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin19]
    
    
    rails --version
    Rails 6.0.3.6
    
    
    bundler --version
    Bundler version 2.1.4
    
    
    heroku buildpacks
    === myappname Buildpack URLs
    1. https://github.com/virtualstaticvoid/heroku-buildpack-r.git#heroku-16
    2. heroku/ruby
    3. https://github.com/mojodna/heroku-buildpack-cairo.git
    4. https://github.com/heroku/heroku-buildpack-xvfb-google-chrome.git
    
    0 回复  |  直到 3 年前
        1
  •  0
  •   stevec Zxeenu    3 年前

    我从未解决过这个问题,但通过从cedar-14堆栈升级到heroku-18堆栈来解决了这个问题。