导轨:由于不同的红宝石版本而导致的耙子出错
我正在使用一个自我托管 chatwoot 使用ubuntu在AWS上安装。
我正在升级指南但是什么时候我想预先编译资产,遇到错误,
Your Ruby version is 2.7.0, but your Gemfile specified 3.0.2
但是当我获得Ruby版本时,它指出我的版本已经与Gemfile中指定的版本相同。
我在这个问题上有点丢失。
提前致谢。
I'm using a self-hosted chatwoot installation on AWS using ubuntu.
I'm upgrading the chatwoot version following the guide but when i want to precompile the assets, I run into an error
Your Ruby version is 2.7.0, but your Gemfile specified 3.0.2
But when i get the ruby version, it states that my version is already the same as specified in the Gemfile.
I'm kind of loss at this problem.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
最好安装Ruby 2.7.0以兼容。本地计算机中的Ruby版本与在Gemfile中声明的机器不同。
如果您正在使用RVM:
否则,如果您使用的是RBENV:
You better install Ruby 2.7.0 for compatibility. The Ruby version in your local machine is different from the one declared in Gemfile.
If you're using rvm:
else if you're using rbenv: