I want to install Ruby On Rails in a Linux cli environment When installing rvm, ruby, and gem, the letters come out in a diamond shape I think it's an error that can't be installed Do I have to do sudo? to install correctly? I'd appreciate it if you could tell me how to use it
linux ruby ruby-on-rails
If you install it outside of the home directory, you must install it with root privileges. For RVMs, the root privilege is required by default by installing at /usr/local. The root authority can be accessed as root or obtained temporarily using sudo.
If it is not the root account, install it as follows.
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
If you are installing rvmsudo install 2.1 # 2.1
For root accounts, you only need to use rvm instead of rvmsudo.
curl -L https://get.rvm.io | bash -s stable
source ~/.rvm/scripts/rvm
rvm install 2.1
© 2024 OneMinuteCode. All rights reserved.