Si je ssh dans mon VPS en tant qu'utilisateur de déploiement et exécutez bundle -v
, j'obtiens Bundler version 1.1.5
comme prévu.lot introuvable via ssh
Si je cours ssh [email protected] bundle -v
, je vois bash: bundle: command not found
Pourquoi bundle pas montré l'exécution de commandes via ssh?
Plus d'infos
$ 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