Skip to content

Instantly share code, notes, and snippets.

@thomasguillory
Created July 1, 2014 18:24
Show Gist options
  • Save thomasguillory/3c9c04753da4f359dbf2 to your computer and use it in GitHub Desktop.
Save thomasguillory/3c9c04753da4f359dbf2 to your computer and use it in GitHub Desktop.
bundle exec cap staging invoke COMMAND="sudo /home/tech/.rbenv/shims/god -c /var/www/altagem/current/config/god.rb -D" hotfix-cap-release-path * ] 8:22 PM
triggering load callbacks
* 2014-07-01 20:23:06 executing `staging'
triggering start callbacks for `invoke'
* 2014-07-01 20:23:06 executing `multistage:ensure'
* 2014-07-01 20:23:06 executing `invoke'
* executing "sudo /home/tech/.rbenv/shims/god -c /var/www/altagem/current/config/god.rb -D"
servers: ["92.39.246.142"]
[92.39.246.142] executing command
** [out :: 92.39.246.142] I [2014-07-01 18:23:06] INFO: Loading /var/www/altagem/current/config/god.rb
** [out :: 92.39.246.142] There was an error in /var/www/altagem/current/config/god.rb
** [out :: 92.39.246.142] No such file or directory @ rb_sysopen - /var/www/altagem/current/config/god/environments/.yml
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/psych-2.0.5/lib/psych.rb:464:in `initialize'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/psych-2.0.5/lib/psych.rb:464:in `open'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/psych-2.0.5/lib/psych.rb:464:in `load_file'
** [out :: 92.39.246.142] /var/www/altagem/current/config/god.rb:9:in `<top (required)>'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:152:in `load'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:152:in `load_god_file'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:144:in `block in load_config'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:143:in `each'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:143:in `load_config'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:72:in `default_run'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:80:in `run_in_front'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:23:in `dispatch'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/lib/god/cli/run.rb:8:in `initialize'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/bin/god:124:in `new'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/god-0.13.3/bin/god:124:in `<top (required)>'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/bin/god:23:in `load'
** [out :: 92.39.246.142] /home/tech/.rbenv/versions/2.1.0/bin/god:23:in `<main>'
** [out :: 92.39.246.142] E [2014-07-01 18:23:06] ERROR: File '/var/www/altagem/current/config/god.rb' could not be loaded
command finished in 728ms
failed: "env PATH=$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH sh -c 'sudo /home/tech/.rbenv/shims/god -c /var/www/altagem/current/config/god.rb -D'" on 92.39.246.142
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment