Skip to content

Instantly share code, notes, and snippets.

@ngw

ngw/bower fail Secret

Created April 28, 2016 14:05
Show Gist options
  • Save ngw/5e6491071ef1ee364cebcd61b1347d38 to your computer and use it in GitHub Desktop.
Save ngw/5e6491071ef1ee364cebcd61b1347d38 to your computer and use it in GitHub Desktop.
BRANCH=feature/preprod-deploy bundle exec cap production bower:install
DEBUG [379d1701] Running [ -d ~/.rvm ] on xxx.xxx.xxx.xxx
DEBUG [379d1701] Command: [ -d ~/.rvm ]
DEBUG [379d1701] Finished in 0.632 seconds with exit status 1 (failed).
DEBUG [5e15269d] Running [ -d /usr/local/rvm ] on xxx.xxx.xxx.xxx
DEBUG [5e15269d] Command: [ -d /usr/local/rvm ]
DEBUG [5e15269d] Finished in 0.050 seconds with exit status 0 (successful).
DEBUG [137419c4] Running /usr/local/rvm/bin/rvm version on xxx.xxx.xxx.xxx
DEBUG [137419c4] Command: /usr/local/rvm/bin/rvm version
DEBUG [137419c4] rvm 1.27.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
DEBUG [137419c4] Finished in 0.156 seconds with exit status 0 (successful).
rvm 1.27.0 (latest) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
DEBUG [dc3cfee1] Running /usr/local/rvm/bin/rvm current on xxx.xxx.xxx.xxx
DEBUG [dc3cfee1] Command: /usr/local/rvm/bin/rvm current
DEBUG [dc3cfee1] ruby-2.2.3
DEBUG [dc3cfee1] Finished in 0.156 seconds with exit status 0 (successful).
ruby-2.2.3
DEBUG [f1588d61] Running /usr/local/rvm/bin/rvm 2.2.3@braint do ruby --version on xxx.xxx.xxx.xxx
DEBUG [f1588d61] Command: /usr/local/rvm/bin/rvm 2.2.3@braint do ruby --version
DEBUG [f1588d61] ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
DEBUG [f1588d61] Finished in 0.274 seconds with exit status 0 (successful).
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]
INFO [fe492e23] Running /usr/bin/env mkdir -p /tmp/braint/ on xxx.xxx.xxx.xxx
DEBUG [fe492e23] Command: /usr/bin/env mkdir -p /tmp/braint/
INFO [fe492e23] Finished in 0.053 seconds with exit status 0 (successful).
DEBUG Uploading /tmp/braint/nvm-exec.sh 0.0%
INFO Uploading /tmp/braint/nvm-exec.sh 100.0%
INFO [1c3abe50] Running /usr/bin/env chmod +x /tmp/braint/nvm-exec.sh on 138.201.29.134
DEBUG [1c3abe50] Command: /usr/bin/env chmod +x /tmp/braint/nvm-exec.sh
INFO [1c3abe50] Finished in 0.050 seconds with exit status 0 (successful).
DEBUG [87f08d3d] Running [ -d $HOME/.nvm/v6.0.0 ] || [ -d $HOME/.nvm/versions/node/v6.0.0 ] on xxx.xxx.xxx.xxx
DEBUG [87f08d3d] Command: [ -d $HOME/.nvm/v6.0.0 ] || [ -d $HOME/.nvm/versions/node/v6.0.0 ]
DEBUG [87f08d3d] Finished in 0.049 seconds with exit status 0 (successful).
DEBUG [bef156b0] Running if test ! -d /home/deployer/apps/braint/current; then echo "Directory does not exist '/home/deployer/apps/braint/current'" 1>&2; false; fi on 138.201.29.134
DEBUG [bef156b0] Command: if test ! -d /home/deployer/apps/braint/current; then echo "Directory does not exist '/home/deployer/apps/braint/current'" 1>&2; false; fi
DEBUG [bef156b0] Finished in 0.050 seconds with exit status 0 (successful).
INFO [e40784fe] Running /usr/bin/env /usr/local/bin/bower install --quiet --config.interactive=false on xxx.xxx.xxx.xxx
DEBUG [e40784fe] Command: cd /home/deployer/apps/braint/current && ( export NODE_VERSION="v6.0.0" ; /usr/bin/env /usr/local/bin/bower install --quiet --config.interactive=false )
DEBUG [e40784fe] /usr/bin/env: node: No such file or directory
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing on host 138.201.29.134: /usr/local/bin/bower exit status: 127
/usr/local/bin/bower stdout: Nothing written
/usr/local/bin/bower stderr: /usr/bin/env: node: No such file or directory
SSHKit::Command::Failed: /usr/local/bin/bower exit status: 127
/usr/local/bin/bower stdout: Nothing written
/usr/local/bin/bower stderr: /usr/bin/env: node: No such file or directory
Tasks: TOP => bower:install
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment