I have an ubuntu server, with a rails application. When I access directly that server, I have no problem with the setting of the path for my rails commands, but when I log trough ssh for my iMac, I got differents setting, so, for example, the
wich rails
return
home/username/.rvm/gems/ruby-1.9.3-p194/bin/rails
but from ubuntu return
/user/local/bin/rails
who is the correct one.
Anyone knows how to set correctly those values for ssh?
Thanks in advance