0
After updating Ubuntu, it no longer loads Ruby or something like that, the error message that returns is:
/usr/bin/env: "ruby2.1": File or directory not found
Every time I have to start the application
0
After updating Ubuntu, it no longer loads Ruby or something like that, the error message that returns is:
/usr/bin/env: "ruby2.1": File or directory not found
Every time I have to start the application
0
Make sure that Ruby version 2.1 is installed using dpkg -l ruby2.1
(must have a ii
on the left) or even if you are in PATH with which ruby2.1
(shall return /usr/bin/ruby2.1
). If both tests are positive, then the application you’re using that you might be looking for Ruby in another corner, maybe it’s using rbenv to select the interpreter version.
0
Apparently I was able to solve the problem by clicking on Edit->Profile Preferences->Command -> Run command as Session shell -> Restart terminal
Browser other questions tagged ruby-on-rails linux ruby ubuntu updating
You are not signed in. Login or sign up in order to post.
tried to reinstall Ruby, or check the version of Ruby? may be q on system update installed version 2.3
– Brumazzi DB
What the system returns when you type $
ruby
?– Luiz Carvalho
I think the best thing to do is to open the terminal and make a
sudo apt-get --purge autoremove ruby
or asudo apt-get --purge remove ruby
the only difference is that theautoremove
also uninstall dependencies while theremove
no. correct me if I’m wrong.– Tiago Martins