When I run echo $PATH as root from 2 different scenarios to the same server I get a different result.
Firstly I ssh via term as root where I installed kitchen. When I type
$ which kitchen
$ usr/local/rvm/gems/ruby-2.1.2/bin/kitchen
$ echo $PATH
I can see it correctly listed at the end
/usr/local/rvm/gems/ruby-2.1.2/bin:/usr/local/rvm/gems/ruby-2.1.2@global/bin:/usr/local
/rvm/rubies/ruby-2.1.2/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:
/bin:/usr/games:/usr/local/games:/usr/local/rvm/bin:
/usr/local/rvm/gems/ruby-2.1.2/bin/kitchen
I'm using my assembla host to run the SSH script (also specifying root) and when I run
$ which kitchen
$ Process exited with: 1. Reason was: ()
$ echo $PATH
$ /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
/usr/games:/usr/local/games
Using Ubuntu 14.04
I would like to know how to get the same output when running from assembla account as when logged in over terminal if possible
Thanks,