I am a student studying ruby and rails using Amazon Linux AMI. By default, the AMI has Ruby 2.0.0 installed. So I reinstalled it with the latest version. (ruby is 2.3.1 and rails is 5.0.0.1) But somehow, if you turn off the server and turn it on, ruby is 2.0 The rails are deleted altogether. The strange thing is that when you install rails 4.0.x, the server remains on and off.
ruby ruby-on-rails aws
We recommend using tools such as rbenv or rvm.
With rbenv, rvm, you can install multiple versions of rubies and switch versions whenever you want.
In this case, it's kind of hard to handle because it's tangledYo
I recommend rbenv among rbenv and rvm. DHH, which made rails, also uses rbenv.
https://github.com/rbenv/rbenv
© 2024 OneMinuteCode. All rights reserved.