I started using Terminator, the teminal emulator, but when I run a rails application it can’t find Rails.
humberto@asterix:~$ rails -v
The program 'rails' can be found in the following packages:
* rails
* ruby-railties-3.2
Try: sudo apt-get install <selected package>
Does anyone knows how to solve it?
Ensure RVM is Properly Loaded
I don’t know anything about your terminal emulator, but it’s likely that your environment isn’t being properly modified for use by RVM. Make sure your shell sources a file that contains the following:
Depending on your shell and emulator, this is likely to be one of:
If all else fails, just create a shell script that contains the necessary line and source it interactively into the current shell. For example, you might create a script and then
source ~/bin/my_rvm_setup.shto set up the correct environment variables and shell functions.