Recently, I tried to install ruby and I somewhat messed up with variable environment. As a result, I am not be able to use paths in .profile or any other path files that I set up before (I tried in .bash_profile, .zschr and etc). How can I fix this problem?
I can't help you recover your old path, but have a look here:
A couple of different options are presented to resolve your pickle.