2013-08-27 52 views
0
工作

我更新了我的轨道上推Heroku的应用程序,但是当我用命令的Heroku打开我的命令提示符下读打开命令不Heroku的

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

不知道是怎么回事。我做了英雄日志,我收到了一些我不明白的奇怪反馈。无论如何,希望这一切都有帮助。有谁知道发生了什么事?

这里是我的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 [email protected] 
2013-08-26T23:30:41.517670+00:00 heroku[api]: Release v3 created by lanners.mars 
[email protected] 
2013-08-26T23:30:41.596604+00:00 heroku[api]: Add DATABASE_URL config by lanners 
[email protected] 
2013-08-26T23:30:41.622576+00:00 heroku[api]: Release v4 created by lanners.mars 
[email protected] 
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 
[email protected] 
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.32: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

阅读错误日志,并做了SO搜索。赠品是ruby.exe。这是一个Windows可执行文件名称。 Heroku上运行Linux操作系统,其中的可执行文件不.exe

最终要解决这个问题,在您的procfile,改变ruby.exeruby。在我们使用的时候使用unix行结尾。然后提交你的文件并重新推送。 This article有一些关于如何让git为你管理行结束约定的有用信息。

+0

更多的信息在这里:http://stackoverflow.com/questions/15443456/windows-heroku-run-rake-dbmigrate-error-usr-bin-env-ruby-exe-no-such-file-o/16268193 #16268193 – mipadi