I'm learning Ruby through an Alura course and I have a question.
bash: / usr / local / bin / rails: /usr/bin/ruby2.3: Invalid interpreter: File or directory not found
To solve this, every time the terminal is opened I execute the command below:
source rails server
My question is: Is there any way to automate the execution of the command% source /home/wagner/.rvm/scripts/rvm
? It's getting annoying to have to run it every time the terminal is opened.