After updating Ubuntu, it does not load Ruby anymore or something, the error message that returns is:
/ usr / bin / env: "ruby2.1": File or directory not found
Every time I have to start the application
After updating Ubuntu, it does not load Ruby anymore or something, the error message that returns is:
/ usr / bin / env: "ruby2.1": File or directory not found
Every time I have to start the application
Apparently, I was able to resolve the problem by clicking Edit-> Profile Preferences-> Command -> > Run command as Session Shell - > Restart Terminal
Make sure that Ruby version 2.1 is installed using dpkg -l ruby2.1
(must have a ii
on the left side) or even if it is in the PATH with which ruby2.1
(should return /usr/bin/ruby2.1
). If both tests are positive, then the application you are using that may be looking for Ruby in another corner, maybe it is using rbenv to select the interpreter version.