Heroku自动将RAILS

编程入门 行业动态 更新时间:2024-10-25 02:30:00
本文介绍了Heroku自动将RAILS_ENV和RACK_ENV变量改变为“生产”每次部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

每次我将新版本推送到我的登台heroku应用时,RACK_ENV和RAILS_ENV变量将更改为生产,而不是手动分配,这是我手动分配的值。这发生在几个小时前。 这样一行登录活动页面上Heroku的网站上的每一个部署: v741 app_owner@gmail:添加RAILS_ENV,RACK_ENV,PATH,LANG,GEM_PATH配置6分钟前

我应该与heroku支持商谈,但现在看来,现在唯一可以提问的地方就是在这里,他们删除了网站支持......

解决方案

同样在这里。幸运的是,它在回滚之后不会发生。

幸运的是,在生产环境中部署并不会将变量设置为分段!

编辑:

Heroku在一张票上回答:看起来像是我们末端的一个bug。我正在通知我们的红宝石团队编辑2:他们说这个bug昨天是修正的,是的, 它是。但是......错误再次发生了......

Every time I push a new version to my staging heroku app, the RACK_ENV and RAILS_ENV variables are changed to "production", instead of "staging" which is the value I manually assigned. This started happening a couple of hours ago. A line like this is logged on the activity page on the heroku site on every deploy: v741 app_owner@gmail: Add RAILS_ENV, RACK_ENV, PATH, LANG, GEM_PATH config 6 minutes ago

I should talk to heroku support, but it seems that now the only place where questions can be asked is here, they remove the site support...

解决方案

Same here. Fortunately, it does not happen after a rollback.

Fortunately a deploy on production does not set the variables to staging !

EDIT:

Heroku answer on a ticket: Hi, looks like a bug on our end. I'm notifying our ruby team

EDIT 2:

They said the bug was fixed yesterday, and yes, it was. But… the bug has just happened again right now……

更多推荐

Heroku自动将RAILS

本文发布于:2023-10-28 13:26:30,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1536761.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Heroku   RAILS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!