Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In my both of the terminal I was using happily Rvm. Now today, I unexpectedly seeing, in one terminal, Rvm is not being recognize as a command, as it should be. But the other one is working perfectly. I didn't change anything as far as I know. Could you help me to fix this ?

enter image description here

In my ~/.bashrc file I can see -

PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting

### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"

update

Right side(Terminator) showing

(~)$echo $PATH
/usr/local/heroku/bin:/home/kirti/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/kirti/.rvm/gems/ruby-2.0.0-p0/bin/xmpfilter:/home/kirti/.rvm/bin
(~)$

Left side(Gnome) showing

(arup~>~)$ echo $PATH
/home/kirti/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/kirti/.rvm/gems/ruby-2.0.0-p0/bin/xmpfilter
(arup~>~)$ 
share|improve this question
    
May be you have different environment variables. Check echo $PATH to different terminals. –  user1323 May 9 at 18:13
    
@user1323 see the update.. In none of the terminal Rvm is working.. –  Arup Rakshit May 9 at 18:17
    
echo $PATH to all terminal displayed the same output? –  user1323 May 9 at 18:17
    
@user1323 Updated.. I didn't do anything.. How this weird things happened I don't know.. All were working properly.. Tonight I found this things,, –  Arup Rakshit May 9 at 18:21
1  
In your Gnome-Terminal go to profile properties and select "Run commands as login shell" or something like that. Then restart your terminal and it should work. –  user280055 May 10 at 8:09

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.