Rails应用程序已成功部署到Heroku,但访问URL时出现应用程序错误

时间:2019-01-23 01:33:02

标签: ruby-on-rails heroku

寻求对我当前的Rails应用程序遇到的问题的见解。我可以将应用程序部署到Heroku,但是从heroku推送中收到以下四个警告。导航到URL后,它会提供一个应用程序错误页面,并且该应用程序未显示。对于以下警告的任何解决方案,我们将不胜感激!

警告:
   Removing `vendor/bundle`.
   Checking in `vendor/bundle` is not supported. Please remove this directory
   and add it to your .gitignore. To vendor your gems with Bundler, use
   `bundle pack` instead.
警告:
   You have the `.bundle/config` file checked into your repository
    It contains local state like the location of the installed bundle
    as well as configured git local gems, and other settings that should
   not be shared between multiple checkouts of a single repo. Please
   remove the `.bundle/` folder from your repo and add it to your `.gitignore` file.
   https://devcenter.heroku.com/articles/bundler-configuration
警告:
   Detecting rails configuration failed
   set HEROKU_DEBUG_RAILS_RUNNER=1 to debug
警告:
   We detected that some binary dependencies required to
   use all the preview features of Active Storage are not
   present on this system.

0 个答案:

没有答案