简体   繁体   中英

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. 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.

I checked my rails version is Rails 5.1.3. Please how do I solve this problem? Looking forward to replies, thanks.

Check your ruby version ruby -v . It is lower than required, so you should install newer version.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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