I installed rubies, rails and gemsets using RVM on ubuntu as indicated: http://railstutorial.org/ruby-on-rails-tutorial-book#sec:rubygems
Now the problem is that every time I restart the computer and open the console, my RVM and rails settings are lost: when I try the "rails server" - the rails are not found, and all the gems are lost too. I need to install the rails and install other gems again, like a hero.
Do you put $ HOME / .rvm / scripts / rvm into your shell in your .profile or some other setting?
This will be the first thing to check.
Add this line:
source $HOME/.rvm/scripts/rvm
Try to execute
rvm --default use 1.9.3
Source: https://habr.com/ru/post/900884/More articles:WF Custom SQL Tracking Service Stopped Working for Older Workflows? - serializationWhy do I need to use "rvm use default" after opening a new terminal window? - ruby-on-railscluster genetic programming / algorithms - cluster-computingbulk switching between x64 x86 in configuration projects - x86-64shebang string not working - linuxSet session cookies for specific subdomains - phpbad urls from another site? fb_xd_fragment = redirection - redirectCould not load file or assembly Microsoft.ServiceModel.DomainServices.Hosting - c #RVM not found after successful use and a few days later - linuxCSS dynamic name names? How to add them to a CSS file? - cssAll Articles