Ruby error after updating ubuntu

0

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

    
asked by anonymous 01.07.2016 / 03:02

2 answers

0

Apparently, I was able to resolve the problem by clicking Edit-> Profile Preferences-> Command -> > Run command as Session Shell - > Restart Terminal

    
03.07.2016 / 20:25
0

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.

    
18.07.2016 / 22:29