Guest User

Untitled

a guest
Dec 24th, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.64 KB | None | 0 0
  1. ➜ appletv git:(rails_upgrade) ✗ cap staging deploy
  2. [Deprecation Notice] Future versions of Capistrano will not load the Git SCM
  3. plugin by default. To silence this deprecation warning, add the following to
  4. your Capfile after `require "capistrano/deploy"`:
  5.  
  6. require "capistrano/scm/git"
  7. install_plugin Capistrano::SCM::Git
  8.  
  9.  
  10. You need a passphrase to unlock the secret key for
  11. user: "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
  12. 2048-bit RSA key, ID 57029D2E, created 2012-09-28 (main key ID EACF3C5D)
  13.  
  14. gpg: encrypted with 2048-bit RSA key, ID 57029D2E, created 2012-09-28
  15. "TED Engineering (To be used to encrypt backups) <engineroom+backup01@ted.com>"
  16. INFO [9fa754cc] Running /usr/bin/env mkdir -p /tmp as tedconf@rails-staging2.private.ted.com
  17. INFO [9fa754cc] Finished in 3.719 seconds with exit status 0 (successful).
  18. INFO Uploading /tmp/git-ssh-appletv-staging-clayselby.sh 100.0%
  19. INFO [3ebe8f04] Running /usr/bin/env chmod 700 /tmp/git-ssh-appletv-staging-clayselby.sh as tedconf@rails-staging2.private.ted.com
  20. INFO [3ebe8f04] Finished in 1.034 seconds with exit status 0 (successful).
  21. INFO [19289a0e] Running /usr/bin/env git ls-remote git@github.com:tedconf/appletv.git HEAD as tedconf@rails-staging2.private.ted.com
  22. INFO [19289a0e] Finished in 1.220 seconds with exit status 0 (successful).
  23. 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
  24. INFO [6f05c0c6] Finished in 0.928 seconds with exit status 0 (successful).
  25. 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
  26. INFO [38a3fe7a] Finished in 0.775 seconds with exit status 0 (successful).
  27. INFO The repository mirror is at /var/www/appletv/staging/master/repo
  28. INFO [744db2fa] Running /usr/bin/env git remote set-url origin git@github.com:tedconf/appletv.git as tedconf@rails-staging2.private.ted.com
  29. INFO [744db2fa] Finished in 0.862 seconds with exit status 0 (successful).
  30. INFO [f3bce9eb] Running /usr/bin/env git remote update --prune as tedconf@rails-staging2.private.ted.com
  31. INFO [f3bce9eb] Finished in 1.276 seconds with exit status 0 (successful).
  32. INFO [41319a01] Running /usr/bin/env mkdir -p /var/www/appletv/staging/master/releases/20171220184911 as tedconf@rails-staging2.private.ted.com
  33. INFO [41319a01] Finished in 0.810 seconds with exit status 0 (successful).
  34. 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
  35. INFO [c686bba3] Finished in 0.925 seconds with exit status 0 (successful).
  36. INFO [a6807aec] Running /usr/bin/env echo "d5845303a2ab3200b0ee28467599bb8d3cc4782d" >> REVISION as tedconf@rails-staging2.private.ted.com
  37. INFO [a6807aec] Finished in 0.818 seconds with exit status 0 (successful).
  38. 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
  39. INFO [0d9f57b5] Finished in 0.839 seconds with exit status 0 (successful).
  40. INFO [e936c24b] Running /usr/bin/env rm -rf /var/www/appletv/staging/master/releases/20171220184911/log as tedconf@rails-staging2.private.ted.com
  41. INFO [e936c24b] Finished in 0.839 seconds with exit status 0 (successful).
  42. 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
  43. INFO [ac528760] Finished in 0.963 seconds with exit status 0 (successful).
  44. 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
  45. INFO [361ed0c3] Finished in 0.836 seconds with exit status 0 (successful).
  46. INFO Uploading config/secrets.yml 100.0%
  47. 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
  48. (Backtrace restricted to imported tasks)
  49. cap aborted!
  50. SSHKit::Runner::ExecuteError: Exception while executing as tedconf@rails-staging2.private.ted.com: bundle exit status: 5
  51. bundle stdout: The latest bundler is 1.16.0, but you are currently running 1.15.4.
  52. To update, run `gem install bundler`
  53. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  54.  
  55. current directory:
  56. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  57. /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171220-27044-n2fwqh.rb
  58. extconf.rb
  59. creating Makefile
  60.  
  61. current directory:
  62. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  63. make "DESTDIR=" clean
  64.  
  65. current directory:
  66. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  67. make "DESTDIR="
  68. compiling generator.c
  69. generator.c: In function ‘generate_json’:
  70. generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)
  71. } else if (klass == rb_cFixnum) {
  72. ^
  73. generator.c:861:25: note: each undeclared identifier is reported only once for
  74. each function it appears in
  75. generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)
  76. } else if (klass == rb_cBignum) {
  77. ^
  78. generator.c: At top level:
  79. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  80. default]
  81. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  82. [enabled by default]
  83. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  84. [enabled by default]
  85. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  86. [enabled by default]
  87. make: *** [generator.o] Error 1
  88.  
  89. make failed, exit code 2
  90.  
  91. Gem files will remain installed in
  92. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3 for
  93. inspection.
  94. Results logged to
  95. /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
  96.  
  97. An error occurred while installing json (1.8.3), and Bundler cannot continue.
  98. Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
  99.  
  100. In Gemfile:
  101. beacon was resolved to 0.0.1, which depends on
  102. rails was resolved to 4.1.16, which depends on
  103. actionmailer was resolved to 4.1.16, which depends on
  104. actionpack was resolved to 4.1.16, which depends on
  105. actionview was resolved to 4.1.16, which depends on
  106. activesupport was resolved to 4.1.16, which depends on
  107. json
  108. bundle stderr: Nothing written
  109.  
  110.  
  111. Caused by:
  112. SSHKit::Command::Failed: bundle exit status: 5
  113. bundle stdout: The latest bundler is 1.16.0, but you are currently running 1.15.4.
  114. To update, run `gem install bundler`
  115. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  116.  
  117. current directory:
  118. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  119. /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171220-27044-n2fwqh.rb
  120. extconf.rb
  121. creating Makefile
  122.  
  123. current directory:
  124. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  125. make "DESTDIR=" clean
  126.  
  127. current directory:
  128. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  129. make "DESTDIR="
  130. compiling generator.c
  131. generator.c: In function ‘generate_json’:
  132. generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)
  133. } else if (klass == rb_cFixnum) {
  134. ^
  135. generator.c:861:25: note: each undeclared identifier is reported only once for
  136. each function it appears in
  137. generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)
  138. } else if (klass == rb_cBignum) {
  139. ^
  140. generator.c: At top level:
  141. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  142. default]
  143. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  144. [enabled by default]
  145. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  146. [enabled by default]
  147. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  148. [enabled by default]
  149. make: *** [generator.o] Error 1
  150.  
  151. make failed, exit code 2
  152.  
  153. Gem files will remain installed in
  154. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3 for
  155. inspection.
  156. Results logged to
  157. /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
  158.  
  159. An error occurred while installing json (1.8.3), and Bundler cannot continue.
  160. Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
  161.  
  162. In Gemfile:
  163. beacon was resolved to 0.0.1, which depends on
  164. rails was resolved to 4.1.16, which depends on
  165. actionmailer was resolved to 4.1.16, which depends on
  166. actionpack was resolved to 4.1.16, which depends on
  167. actionview was resolved to 4.1.16, which depends on
  168. activesupport was resolved to 4.1.16, which depends on
  169. json
  170. bundle stderr: Nothing written
  171.  
  172. Tasks: TOP => deploy:updated => bundler:install
  173. (See full trace by running task with --trace)
  174. The deploy has failed with an error: Exception while executing as tedconf@rails-staging2.private.ted.com: bundle exit status: 5
  175. bundle stdout: The latest bundler is 1.16.0, but you are currently running 1.15.4.
  176. To update, run `gem install bundler`
  177. Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
  178.  
  179. current directory:
  180. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  181. /usr/local/rvm/rubies/ruby-2.4.2/bin/ruby -r ./siteconf20171220-27044-n2fwqh.rb
  182. extconf.rb
  183. creating Makefile
  184.  
  185. current directory:
  186. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  187. make "DESTDIR=" clean
  188.  
  189. current directory:
  190. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3/ext/json/ext/generator
  191. make "DESTDIR="
  192. compiling generator.c
  193. generator.c: In function ‘generate_json’:
  194. generator.c:861:25: error: ‘rb_cFixnum’ undeclared (first use in this function)
  195. } else if (klass == rb_cFixnum) {
  196. ^
  197. generator.c:861:25: note: each undeclared identifier is reported only once for
  198. each function it appears in
  199. generator.c:863:25: error: ‘rb_cBignum’ undeclared (first use in this function)
  200. } else if (klass == rb_cBignum) {
  201. ^
  202. generator.c: At top level:
  203. cc1: warning: unrecognized command line option "-Wno-self-assign" [enabled by
  204. default]
  205. cc1: warning: unrecognized command line option "-Wno-constant-logical-operand"
  206. [enabled by default]
  207. cc1: warning: unrecognized command line option "-Wno-parentheses-equality"
  208. [enabled by default]
  209. cc1: warning: unrecognized command line option "-Wno-tautological-compare"
  210. [enabled by default]
  211. make: *** [generator.o] Error 1
  212.  
  213. make failed, exit code 2
  214.  
  215. Gem files will remain installed in
  216. /var/www/appletv/staging/master/shared/bundle/ruby/2.4.0/gems/json-1.8.3 for
  217. inspection.
  218. Results logged to
  219. /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
  220.  
  221. An error occurred while installing json (1.8.3), and Bundler cannot continue.
  222. Make sure that `gem install json -v '1.8.3'` succeeds before bundling.
  223.  
  224. In Gemfile:
  225. diff --git a/Capfile b/Capfile
  226. index 5276282..ff0bbfc 100644
  227. --- a/Capfile
  228. +++ b/Capfile
  229. @@ -31,4 +31,4 @@ require 'ted/capistrano3/nginx'
  230. require 'ted/capistrano3/rails_secrets'
  231. require 'ted/capistrano3/stage_validation'
  232. require 'ted/capistrano3/unicorn'
  233. -require 'ted/capistrano3/deploy_logger'
  234. +require 'deploy_logger/cap3/tasks'
  235. diff --git a/Gemfile b/Gemfile
  236. index a476f09..f65c1dd 100644
  237. --- a/Gemfile
  238. +++ b/Gemfile
  239. @@ -20,7 +20,7 @@ gem 'logstasher'
  240. gem 'stackprof', git: 'git@github.com:tmm1/stackprof.git',
  241. ref: '58e2961567e91f02fc9170d7ff22869358c6373f'
  242.  
  243. -gem 'crushinator_helpers', '0.0.15',
  244. +gem 'crushinator_helpers', '0.1.1',
  245. git: 'git@github.com:tedconf/crushinator_helpers.git'
  246.  
  247. group :production, :staging do
  248. @@ -32,7 +32,7 @@ end
  249. beacon was resolved to 0.0.1, which depends on
  250. rails was resolved to 4.1.16, which depends on
  251. actionmailer was resolved to 4.1.16, which depends on
  252. actionpack was resolved to 4.1.16, which depends on
  253. actionview was resolved to 4.1.16, which depends on
  254. activesupport was resolved to 4.1.16, which depends on
  255. json
  256. bundle stderr: Nothing written
  257. Saving deploy log
Add Comment
Please, Sign In to add comment