bundle not found via ssh

Viewed 1490

If I ssh into my VPS as the deployment user and run bundle -v I get Bundler version 1.1.5 as expected.

If I run ssh deployment@123.123.123.123 bundle -v, then I see bash: bundle: command not found

Why isn't bundle being shown running commands via ssh?

More Info

$ cat ~/.bashrc

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

if [ -d "${RBENV_ROOT}" ]; then
  export PATH="${RBENV_ROOT}/bin:${PATH}"
  eval "$(rbenv init -)"
fi

# If not running interactively, don't do anything
[ -z "$PS1" ] && return
1 Answers
Related