Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ➜ appletv git:(rails_upgrade) ✗ cap staging deploy
- [Deprecation Notice] Future versions of Capistrano will not load the Git SCM
- plugin by default. To silence this deprecation warning, add the following to
- your Capfile after `require "capistrano/deploy"`:
- require "capistrano/scm/git"
- install_plugin Capistrano::SCM::Git
- You need a passphrase to unlock the secret key for
- user: "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
- 2048-bit RSA key, ID 57029D2E, created 2012-09-28 (main key ID EACF3C5D)
- gpg: encrypted with 2048-bit RSA key, ID 57029D2E, created 2012-09-28
- "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
- INFO [9fa754cc] Running /usr/bin/env mkdir -p /tmp as tedconf@rails-staging2.private.ted.com
- INFO [9fa754cc] Finished in 3.719 seconds with exit status 0 (successful).
- INFO Uploading /tmp/git-ssh-appletv-staging-clayselby.sh 100.0%
- INFO [3ebe8f04] Running /usr/bin/env chmod 700 /tmp/git-ssh-appletv-staging-clayselby.sh as tedconf@rails-staging2.private.ted.com
- INFO [3ebe8f04] Finished in 1.034 seconds with exit status 0 (successful).
- INFO [19289a0e] Running /usr/bin/env git ls-remote git@github.com:tedconf/appletv.git HEAD as tedconf@rails-staging2.private.ted.com
- INFO [19289a0e] Finished in 1.220 seconds with exit status 0 (successful).
- INFO [6f05c0c6] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/shared /var/www/appletv/staging/master/releases as tedconf@rails-staging2.private.ted.com
- INFO [6f05c0c6] Finished in 0.928 seconds with exit status 0 (successful).
- INFO [38a3fe7a] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/shared/log /var/www/appletv/staging/master/shared/public/assets as tedconf@rails-staging2.private.ted.com
- INFO [38a3fe7a] Finished in 0.775 seconds with exit status 0 (successful).
- INFO The repository mirror is at /var/www/appletv/staging/master/repo
- INFO [744db2fa] Running /usr/bin/env git remote set-url origin git@github.com:tedconf/appletv.git as tedconf@rails-staging2.private.ted.com
- INFO [744db2fa] Finished in 0.862 seconds with exit status 0 (successful).
- INFO [f3bce9eb] Running /usr/bin/env git remote update --prune as tedconf@rails-staging2.private.ted.com
- INFO [f3bce9eb] Finished in 1.276 seconds with exit status 0 (successful).
- INFO [41319a01] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/releases/20171220184911 as tedconf@rails-staging2.private.ted.com
- INFO [41319a01] Finished in 0.810 seconds with exit status 0 (successful).
- INFO [c686bba3] Running /usr/bin/env git archive master | /usr/bin/env tar -x -f - -C /var/www/appletv/staging/master/releases/20171220184911 as tedconf@rails-staging2.private.ted.com
- INFO [c686bba3] Finished in 0.925 seconds with exit status 0 (successful).
- INFO [a6807aec] Running /usr/bin/env echo "d5845303a2ab3200b0ee28467599bb8d3cc4782d" >> REVISION as tedconf@rails-staging2.private.ted.com
- INFO [a6807aec] Finished in 0.818 seconds with exit status 0 (successful).
- INFO [0d9f57b5] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/releases/20171220184911 /var/www/appletv/staging/master/releases/20171220184911/public as tedconf@rails-staging2.private.ted.com
- INFO [0d9f57b5] Finished in 0.839 seconds with exit status 0 (successful).
- INFO [e936c24b] Running /usr/bin/env rm -rf /var/www/appletv/staging/master/releases/20171220184911/log as tedconf@rails-staging2.private.ted.com
- INFO [e936c24b] Finished in 0.839 seconds with exit status 0 (successful).
- INFO [ac528760] Running /usr/bin/env ln -s /var/www/appletv/staging/master/shared/log /var/www/appletv/staging/master/releases/20171220184911/log as tedconf@rails-staging2.private.ted.com
- INFO [ac528760] Finished in 0.963 seconds with exit status 0 (successful).
- INFO [361ed0c3] Running /usr/bin/env ln -s /var/www/appletv/staging/master/shared/public/assets /var/www/appletv/staging/master/releases/20171220184911/public/assets as tedconf@rails-staging2.private.ted.com
- INFO [361ed0c3] Finished in 0.836 seconds with exit status 0 (successful).
- INFO Uploading config/secrets.yml 100.0%
- INFO [ae4204c7] Running /usr/local/rvm/bin/rvm 2.4.2 do bundle install --path /var/www/appletv/staging/master/shared/bundle --without development test --deployment --quiet as tedconf@rails-staging2.private.ted.com
- (Backtrace restricted to imported tasks)
- cap aborted!
- SSHKit::Runner::ExecuteError: Exception while executing as tedconf@rails-staging2.private.ted.com: bundle exit status: 5
- bundle stdout: The latest bundler is 1.16.0, but you are currently running 1.15.4.
- To update, run `gem install bundler`
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171220-27044-n2fwqh.rb
- extconf.rb
- creating Makefile
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- make "DESTDIR=" clean
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- make "DESTDIR="
- compiling generator.c
- generator.c: In function ‘generate_json’:
- generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)
- } else if (klass == rb_cFixnum) {
- ^
- generator.c:861:25: note: each undeclared identifier is reported only once for
- each function it appears in
- generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)
- } else if (klass == rb_cBignum) {
- ^
- generator.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- make: *** [generator.o] Error 1
- make failed, exit code 2
- Gem files will remain installed in
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3 for
- inspection.
- Results logged to
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out
- An error occurred while installing json (1.8.3), and Bundler cannot continue.
- Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
- In Gemfile:
- beacon was resolved to 0.0.1, which depends on
- rails was resolved to 4.1.16, which depends on
- actionmailer was resolved to 4.1.16, which depends on
- actionpack was resolved to 4.1.16, which depends on
- actionview was resolved to 4.1.16, which depends on
- activesupport was resolved to 4.1.16, which depends on
- json
- bundle stderr: Nothing written
- Caused by:
- SSHKit::Command::Failed: bundle exit status: 5
- bundle stdout: The latest bundler is 1.16.0, but you are currently running 1.15.4.
- To update, run `gem install bundler`
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171220-27044-n2fwqh.rb
- extconf.rb
- creating Makefile
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- make "DESTDIR=" clean
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- make "DESTDIR="
- compiling generator.c
- generator.c: In function ‘generate_json’:
- generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)
- } else if (klass == rb_cFixnum) {
- ^
- generator.c:861:25: note: each undeclared identifier is reported only once for
- each function it appears in
- generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)
- } else if (klass == rb_cBignum) {
- ^
- generator.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- make: *** [generator.o] Error 1
- make failed, exit code 2
- Gem files will remain installed in
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3 for
- inspection.
- Results logged to
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out
- An error occurred while installing json (1.8.3), and Bundler cannot continue.
- Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
- In Gemfile:
- beacon was resolved to 0.0.1, which depends on
- rails was resolved to 4.1.16, which depends on
- actionmailer was resolved to 4.1.16, which depends on
- actionpack was resolved to 4.1.16, which depends on
- actionview was resolved to 4.1.16, which depends on
- activesupport was resolved to 4.1.16, which depends on
- json
- bundle stderr: Nothing written
- Tasks: TOP => deploy:updated => bundler:install
- (See full trace by running task with --trace)
- The deploy has failed with an error: Exception while executing as tedconf@rails-staging2.private.ted.com: bundle exit status: 5
- bundle stdout: The latest bundler is 1.16.0, but you are currently running 1.15.4.
- To update, run `gem install bundler`
- Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171220-27044-n2fwqh.rb
- extconf.rb
- creating Makefile
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- make "DESTDIR=" clean
- current directory:
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
- make "DESTDIR="
- compiling generator.c
- generator.c: In function ‘generate_json’:
- generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)
- } else if (klass == rb_cFixnum) {
- ^
- generator.c:861:25: note: each undeclared identifier is reported only once for
- each function it appears in
- generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)
- } else if (klass == rb_cBignum) {
- ^
- generator.c: At top level:
- cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
- default]
- cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
- [enabled by default]
- cc1: warning: unrecognized command line option "-Wno-tautological-compare"
- [enabled by default]
- make: *** [generator.o] Error 1
- make failed, exit code 2
- Gem files will remain installed in
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3 for
- inspection.
- Results logged to
- /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0/json-1.8.3/gem_make.out
- An error occurred while installing json (1.8.3), and Bundler cannot continue.
- Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
- In Gemfile:
- diff --git a/Capfile b/Capfile
- index 5276282..ff0bbfc 100644
- --- a/Capfile
- +++ b/Capfile
- @@ -31,4 +31,4 @@ require 'ted/capistrano3/nginx'
- require 'ted/capistrano3/rails_secrets'
- require 'ted/capistrano3/stage_validation'
- require 'ted/capistrano3/unicorn'
- -require 'ted/capistrano3/deploy_logger'
- +require 'deploy_logger/cap3/tasks'
- diff --git a/Gemfile b/Gemfile
- index a476f09..f65c1dd 100644
- --- a/Gemfile
- +++ b/Gemfile
- @@ -20,7 +20,7 @@ gem 'logstasher'
- gem 'stackprof', git: 'git@github.com:tmm1/stackprof.git',
- ref: '58e2961567e91f02fc9170d7ff22869358c6373f'
- -gem 'crushinator_helpers', '0.0.15',
- +gem 'crushinator_helpers', '0.1.1',
- git: 'git@github.com:tedconf/crushinator_helpers.git'
- group :production, :staging do
- @@ -32,7 +32,7 @@ end
- beacon was resolved to 0.0.1, which depends on
- rails was resolved to 4.1.16, which depends on
- actionmailer was resolved to 4.1.16, which depends on
- actionpack was resolved to 4.1.16, which depends on
- actionview was resolved to 4.1.16, which depends on
- activesupport was resolved to 4.1.16, which depends on
- json
- bundle stderr: Nothing written
- Saving deploy log
Add Comment
Please, Sign In to add comment