Heroku:无法加载命令:rackup(/app/vendor/bundle/ruby/2.4.0/bin/rackup)

时间:2017-06-29 23:01:34

标签: ruby heroku

我正在尝试在Heroku上运行一个应用程序,但它似乎在最后出错。我的应用程序的功能基本上是从Youtube频道获取视频以及视频的评论数量。一切顺利,直到我要将信息返回到另一个网站结束。这是我收到的错误:

2017-06-29T22:27:49.593081+00:00 app[web.1]:===================VIDEO=================
2017-06-29T22:27:49.593082+00:00 app[web.1]: Num Comments: 5
bundler: failed to load command: rackup 
(/app/vendor/bundle/ruby/2.4.0/bin/rackup)
2017-06-29T22:27:49.593101+00:00 app[web.1]: SignalException: SIGTERM
2017-06-29T22:27:49.593102+00:00 app[web.1]:
    /app/vendor/ruby- 2.4.0/lib/ruby/2.4.0/webrick/server.rb:171:in `select'
2017-06-29T22:27:49.593102+00:00 app[web.1]:
  /app/vendor/ruby- 2.4.0/lib/ruby/2.4.0/webrick/server.rb:171:in `block in start'
2017-06-29T22:27:49.593103+00:00 app[web.1]:
    /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:33:in `start'
2017-06-29T22:27:49.593104+00:00 app[web.1]:
    /app/vendor/ruby-2.4.0/lib/ruby/2.4.0/webrick/server.rb:158:in `start'
2017-06-29T22:27:49.593105+00:00 app[web.1]:   
/app/vendor/bundle/ruby/2.4.0/gems/rack-
2.0.3/lib/rack/handler/webrick.rb:34:in `run'
2017-06-29T22:27:49.593105+00:00 app[web.1]:   
/app/vendor/bundle/ruby/2.4.0/gems/rack-
2.0.3/lib/rack/server.rb:297:in `start'
2017-06-29T22:27:49.593106+00:00 app[web.1]:   
/app/vendor/bundle/ruby/2.4.0/gems/rack-
2.0.3/lib/rack/server.rb:148:in `start'
2017-06-29T22:27:49.593107+00:00 app[web.1]:   
/app/vendor/bundle/ruby/2.4.0/gems/rack-2.0.3/bin/rackup:4:in `<top 
(required)>'
2017-06-29T22:27:49.593108+00:00 app[web.1]:   
/app/vendor/bundle/ruby/2.4.0/bin/rackup:22:in `load'
2017-06-29T22:27:49.593108+00:00 app[web.1]:   
/app/vendor/bundle/ruby/2.4.0/bin/rackup:22:in `<top (required)>'
2017-06-29T22:27:49.792129+00:00 heroku[web.1]: Process exited with 
status 1

我不确定这是否正在发生,因为当我使用ngrok时它在本地工作但是任何见解都会受到赞赏!这是我的config.ru以防万一

require 'bundler'
Bundler.require

require File.expand_path(File.dirname(__FILE__) + '/app')

run YoutubeIntegration

0 个答案:

没有答案