Case 1: When i open console direct in project directory (Using Linux Mint) I have created .ruby-version and .ruby-gemset in my rails project but it doesn't work. It do not set my ruby version and gemset automatically.
Case 2: It do works when i do..
$ cd .
or
$ cd /path/to/project
why is this so?
my ~/.zshrc:
export PATH="/home/asad/.rvm/gems/ruby-2.0.0-p598/bin:/home/asad/.rvm/gems/ruby-2.0.0-p598@global/bin:/home/asad/.rvm/rubies/ruby-2.0.0-p598/bin:/home/asad/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:$PATH"
export PATH="$PATH:$HOME/.rvm/bin" # Add RVM to PATH for scripting