简体   繁体   English

尝试在Heroku上查看在Rails应用程序上上传的红宝石时出错

[英]Error when trying to view uploaded ruby on rails application on Heroku

I'm having problems with trying to view my first Ruby on Rails application on Heroku as a user called LHH has helped me with the first problem which has been about an error uploading but anyway, that has been fixed and now I'm having the problem where I cannot view the application as I am getting the following error. 我在尝试在Heroku上查看我的第一个Ruby on Rails应用程序时遇到问题,因为名为LHH的用户帮助我解决了第一个问题,该问题涉及上载错误,但无论如何,该问题已得到解决,现在我有了我收到以下错误时无法查看应用程序的问题。

"We're sorry, but something went wrong. If you are the application owner check the logs for more information" Error - http://prntscr.com/aepg5c “很抱歉,出了点问题。如果您是应用程序所有者,请检查日志以获取更多信息”错误-http://prntscr.com/aepg5c

I opened the log for the deploy that claims it was successful and this is the complete log in this screenshot - http://prntscr.com/aerjnv 我打开了声称成功的部署日志,这是此屏幕快照中的完整日志-http: //prntscr.com/aerjnv


I'm not really one to be using ruby on rails as this is my first application that worked and I don't use the Heroku toolkit so what I'm doing is linking it to github via the browser page and telling it where to get the files and the reason why I'm not using the command line is because for some odd reason the Heroku toolkit isn't working with my Windows 10 system. 我并不是一个真正的在轨道上使用ruby的人,因为这是我的第一个有效的应用程序,并且我不使用Heroku工具包,所以我正在做的就是通过浏览器页面将其链接到github并告诉它从哪里获得这些文件以及我不使用命令行的原因是因为出于某些奇怪的原因,Heroku工具包无法在我的Windows 10系统上使用。

Open your Gemfile.lock and remove 打开您的Gemfile.lock并删除

PLATFORMS
  x86-mingw32

then add and try to push on heroku. 然后添加并尝试推动heroku。

PLATFORMS
  ruby

for more check here https://devcenter.heroku.com/articles/bundler-windows-gemfile 有关更多信息,请参见此处https://devcenter.heroku.com/articles/bundler-windows-gemfile

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM