open命令在heroku中不起作用

时间:2013-08-27 00:19:45

标签: heroku

我使用push更新了heroku上的rails应用程序,但是当我使用命令heroku打开我的命令提示时,请阅读

no such file or directory .heroku/client/vendor/gems/addressable-2.3.2/data/unicode.data(Errno::ENOENT)

不确定发生了什么。我做了heroko日志,我得到了一些我不理解的奇怪反馈列表。无论如何希望这一切都很有帮助。有谁知道发生了什么?

这是我的heroku日志

2013-08-26T23:29:23+00:00 heroku[slug-compiler]: Slug compilation started
2013-08-26T23:30:40.856501+00:00 heroku[api]: Scale to web=1 by lanners.marshall
@yahoo.com
2013-08-26T23:30:41.479196+00:00 heroku[api]: Attach HEROKU_POSTGRESQL_GOLD reso
urce by lanners.marshall@yahoo.com
2013-08-26T23:30:41.517670+00:00 heroku[api]: Release v3 created by lanners.mars
hall@yahoo.com
2013-08-26T23:30:41.596604+00:00 heroku[api]: Add DATABASE_URL config by lanners
.marshall@yahoo.com
2013-08-26T23:30:41.622576+00:00 heroku[api]: Release v4 created by lanners.mars
hall@yahoo.com
2013-08-26T23:30:41.670403+00:00 heroku[api]: Deploy 6bdd211 by lanners.marshall
@yahoo.com
2013-08-26T23:30:41.698072+00:00 heroku[api]: Release v5 created by lanners.mars
hall@yahoo.com
2013-08-26T23:30:45.518833+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 39588 -e $RAILS_ENV`
2013-08-26T23:30:46.148345+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-08-26T23:30:47.474136+00:00 heroku[web.1]: Process exited with status 127
2013-08-26T23:30:47.484121+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-08-26T23:30:47.484721+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-08-26T23:30:51.551472+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 43747 -e $RAILS_ENV`
2013-08-26T23:30:53.341195+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-08-26T23:30:55.337892+00:00 heroku[web.1]: Process exited with status 127
2013-08-26T23:30:55.329904+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-08-26T23:41:15.238982+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-08-26T23:41:18.948180+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 28272 -e $RAILS_ENV`
2013-08-26T23:41:19.673459+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-08-26T23:41:21.166624+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-08-26T23:41:21.182154+00:00 heroku[web.1]: Process exited with status 127
2013-08-26T23:41:29.185339+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-08-26T23:41:29.185135+00:00 heroku[web.1]: Error R99 (Platform error) -> Fa
iled to launch the dyno within 10 seconds
2013-08-26T23:51:49.427744+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-08-26T23:51:52.685493+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 24715 -e $RAILS_ENV`
2013-08-26T23:51:53.320123+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-08-26T23:51:54.877945+00:00 heroku[web.1]: Process exited with status 127
2013-08-26T23:51:54.895579+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-08-27T00:02:12.823833+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-08-27T00:02:17.454356+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 35817 -e $RAILS_ENV`
2013-08-27T00:02:18.536931+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-08-27T00:02:20.493992+00:00 heroku[web.1]: Process exited with status 127
2013-08-27T00:02:27.748278+00:00 heroku[web.1]: Stopping process with SIGKILL
2013-08-27T00:02:27.748030+00:00 heroku[web.1]: Error R99 (Platform error) -> Fa
iled to launch the dyno within 10 seconds
2013-08-27T00:12:27.719245+00:00 heroku[web.1]: State changed from crashed to st
arting
2013-08-27T00:12:30.128833+00:00 heroku[web.1]: Starting process with command `b
in/rails server -p 51549 -e $RAILS_ENV`
2013-08-27T00:12:31.578894+00:00 heroku[web.1]: State changed from starting to c
rashed
2013-08-27T00:12:31.542115+00:00 heroku[web.1]: Process exited with status 127
2013-08-27T00:12:30.563854+00:00 app[web.1]: /usr/bin/env: ruby.exe: No such fil
e or directory
2013-08-27T00:12:40.521830+00:00 heroku[web.1]: Error R99 (Platform error) -> Fa
iled to launch the dyno within 10 seconds
2013-08-27T00:12:40.522094+00:00 heroku[web.1]: Stopping process with SIGKILL

1 个答案:

答案 0 :(得分:1)

阅读错误日志,然后进行搜索。赠品是ruby.exe。这是一个Windows可执行文件名。 Heroku运行Linux,其中可执行文件不以.exe

结尾

要解决此问题,请在procfile中将ruby.exe更改为ruby。并且在我们使用时使用unix行结尾。然后提交您的文件并重新推送。 This article提供了有关如何让git为您管理行结束约定的一些有用信息。