[英]ERROR Installing Rails: activesupport requires Ruby version >= 2.7.0. (Looking for solution)
I am getting started with my tech journey.我开始了我的技术之旅。 I'm looking to install Ruby.我正在寻找安装 Ruby。 I'm stuck at the moment, I do need help please.我现在卡住了,我确实需要帮助。 When I try to install this is what it is showing me当我尝试安装时,这就是它向我展示的内容
$ gem install rails ERROR: Error installing rails: activesupport requires Ruby version >= 2.7.0. $ gem install rails 错误:安装 rails 时出错:activesupport 需要 Ruby 版本 >= 2.7.0。
I checked my rails version is Rails 5.1.3.我检查了我的 Rails 版本是 Rails 5.1.3。 Please how do I solve this problem?请问我该如何解决这个问题? Looking forward to replies, thanks.期待回复,谢谢。
Check your ruby version ruby -v
.检查您的 ruby 版本ruby -v
。 It is lower than required, so you should install newer version.它低于要求,因此您应该安装较新的版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.