Se si esegue ssh nel VPS come utente di distribuzione ed è in esecuzione bundle -v
, viene visualizzato Bundler version 1.1.5
come previsto.non trovato tramite ssh
Se corro ssh [email protected] bundle -v
, poi vedo bash: bundle: command not found
Perché non è impacchettare viene mostrato l'esecuzione di comandi tramite ssh?
Ulteriori informazioni
$ 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