Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2014
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. cap deploy:cold
  2.  
  3. bundle config build.pg --with-pg-config=/usr/pgsql-9.3/bin/pg_config
  4.  
  5. servers: ["www.loadmax.com", "workers.loadmax.com"]
  6. [www.loadmax.com] executing command
  7. [workers.loadmax.com] executing command
  8. ** [out :: www.loadmax.com] Gem::Installer::ExtensionBuildError: ERROR: Failed
  9. to build gem native extension.
  10. ** [out :: www.loadmax.com]
  11. ** [out :: www.loadmax.com] /usr/local/rvm/rubies/ruby-1.9.3-head/bin/ruby extc
  12. onf.rb
  13. ** [out :: www.loadmax.com] checking for pg_config... no
  14. ** [out :: www.loadmax.com] No pg_config... trying anyway. If building fails, p
  15. lease try again with
  16. ** [out :: www.loadmax.com] --with-pg-config=/path/to/pg_config
  17. ** [out :: www.loadmax.com] checking for libpq-fe.h... no
  18. ** [out :: www.loadmax.com] Can't find the 'libpq-fe.h header
  19. ** [out :: www.loadmax.com] *** extconf.rb failed ***
  20. ** [out :: www.loadmax.com] Could not create Makefile due to some reason, proba
  21. bly lack of
  22. ** [out :: www.loadmax.com] necessary libraries and/or headers. Check the mkmf
  23.  
  24. [root@ip-50-63-158-250 cached-copy]# gem list
  25.  
  26. *** LOCAL GEMS ***
  27.  
  28. actionmailer (4.0.2, 3.2.3)
  29. actionpack (4.0.2, 3.2.3)
  30. activemodel (3.2.3)
  31. activerecord (3.2.3)
  32. activerecord-postgis-adapter (0.6.3, 0.4.3)
  33. activeresource (3.2.3)
  34. activesupport (4.0.2, 3.2.3)
  35. addressable (2.3.4)
  36. arel (3.0.2)
  37. atomic (1.1.14)
  38. bcrypt-ruby (3.0.1)
  39. builder (3.1.4, 3.0.4, 3.0.3)
  40. bullet (4.4.0)
  41. bundle (0.0.1)
  42. bundler (1.3.4, 1.2.3)
  43. cancan (1.6.10, 1.6.8)
  44. capistrano (2.14.2, 2.13.4)
  45. capybara (2.0.2)
  46. celluloid (0.15.2)
  47. childprocess (0.3.9)
  48. choice (0.1.6)
  49. chronic (0.7.0)
  50. client_side_validations (3.2.5)
  51. coderay (1.0.9)
  52. coffee-rails (3.2.2)
  53. coffee-script (2.2.0)
  54. coffee-script-source (1.6.2, 1.3.3)
  55. commonjs (0.2.6)
  56. daemons (1.1.9)
  57. database_cleaner (0.9.1)
  58. deploy (0.0.3)
  59. devise (2.1.2)
  60. devise-encryptable (0.1.1)
  61. diff-lcs (1.2.4, 1.1.3)
  62. domain_name (0.5.11, 0.5.4)
  63. erubis (2.7.0)
  64. eventmachine (1.0.0)
  65. execjs (2.0.2, 1.4.0)
  66. factory_girl (4.3.0, 4.2.0)
  67. factory_girl_rails (4.2.1)
  68. faker (1.1.2)
  69. faraday (0.8.4)
  70. fastercsv (1.5.5)
  71. ffi (1.8.1)
  72. formatador (0.2.4)
  73. gauges-rails (0.2.1)
  74. god (0.13.4, 0.13.1)
  75. google-spreadsheet-ruby (0.3.0)
  76. google_drive (0.3.1)
  77. growl (1.0.3)
  78. guard (2.4.0, 1.8.0)
  79. guard-rspec (3.0.0)
  80. guard-spork (1.5.1, 1.5.0)
  81. haml (4.0.2, 3.1.7)
  82. highline (1.6.18, 1.6.15)
  83. hike (1.2.2, 1.2.1)
  84. httparty (0.11.0, 0.9.0)
  85. httpauth (0.2.0)
  86. i18n (0.6.4, 0.6.1)
  87. iconv (1.0.3)
  88. journey (1.0.4)
  89. jquery-rails (2.1.3)
  90. jruby-pageant (1.1.1)
  91. json (1.7.7, 1.7.5)
  92. jwt (0.1.5)
  93. kgio (2.8.0)
  94. launchy (2.3.0)
  95. less (2.3.2, 2.2.2)
  96. less-rails (2.3.3, 2.2.3)
  97. libv8 (3.3.10.4 x86_64-linux)
  98. listen (2.4.0, 1.0.3)
  99. log4r (1.1.10)
  100. lumberjack (1.0.3)
  101. macaddr (1.6.1)
  102. mail (2.5.4, 2.4.4)
  103. mechanize (2.6.0, 2.5.1)
  104. method_source (0.8.1)
  105. mime (0.1)
  106. mime-types (2.1, 1.23, 1.19)
  107. minitest (4.7.5)
  108. multi_json (1.7.3, 1.3.6)
  109. multi_xml (0.5.3, 0.5.1)
  110. multipart-post (1.1.5)
  111. mysql2 (0.3.11)
  112. net-http-digest_auth (1.3, 1.2.1)
  113. net-http-persistent (2.8, 2.7)
  114. net-scp (1.1.0, 1.0.4)
  115. net-sftp (2.1.2, 2.0.5)
  116. net-ssh (2.6.7, 2.6.0)
  117. net-ssh-gateway (1.2.0, 1.1.0)
  118. nexmo (1.2.0)
  119. nokogiri (1.5.9, 1.5.5)
  120. ntlm-http (0.1.1)
  121. oauth (0.4.7)
  122. oauth2 (0.8.0)
  123. orm_adapter (0.4.0)
  124. paypal-sdk-core (0.2.7)
  125. paypal-sdk-merchant (1.106.1)
  126. paypal-sdk-rest (0.6.0)
  127. pg (0.15.1)
  128. polyglot (0.3.3)
  129. pony (1.4.1, 1.4)
  130. pry (0.9.12.1)
  131. rack (1.5.2, 1.4.5, 1.4.1)
  132. rack-cache (1.2)
  133. rack-protection (1.5.0, 1.2.0)
  134. rack-ssl (1.3.3, 1.3.2)
  135. rack-test (0.6.2)
  136. rails (3.2.3)
  137. rails3-jquery-autocomplete (1.0.11, 1.0.9)
  138. railties (3.2.3)
  139. raindrops (0.11.0)
  140. rake (10.0.3, 0.9.2.2)
  141. rb-fsevent (0.9.3)
  142. rb-inotify (0.9.0)
  143. rb-kqueue (0.2.0)
  144. rdoc (3.12.2, 3.12)
  145. redis (3.0.1)
  146. redis-namespace (1.3.0, 1.2.1)
  147. resque (1.21.0)
  148. resque_spec (0.13.0)
  149. rgeo (0.3.20, 0.3.19)
  150. rgeo-activerecord (0.5.0, 0.4.5)
  151. rgeo-geojson (0.2.3)
  152. roo (1.11.2, 1.10.1)
  153. rspec (2.13.0, 2.11.0)
  154. rspec-core (2.13.1, 2.11.1)
  155. rspec-expectations (2.13.0, 2.11.3)
  156. rspec-mocks (2.13.1, 2.11.3)
  157. rspec-rails (2.13.1, 2.11.0)
  158. ruby-gmail (0.3.0, 0.2.1)
  159. ruby-growl (4.0)
  160. ruby-ole (1.2.11.6, 1.2.11.4)
  161. rubygems-bundler (1.1.0)
  162. rubyzip (0.9.9)
  163. rvm (1.11.3.5)
  164. sass (3.2.8, 3.2.1)
  165. sass-rails (3.2.6, 3.2.5)
  166. selenium-webdriver (2.32.1)
  167. sendmail (0.0.1)
  168. shared-mime-info (0.1)
  169. shoulda-matchers (2.1.0)
  170. sinatra (1.3.6, 1.3.3)
  171. slop (3.4.4)
  172. spork (0.9.2)
  173. spreadsheet (0.8.5, 0.7.3)
  174. sprockets (2.1.3)
  175. systemu (2.5.2)
  176. therubyracer (0.10.2)
  177. thin (1.5.0)
  178. thor (0.18.1, 0.14.6)
  179. thread_safe (0.1.3)
  180. tilt (1.4.1, 1.3.3)
  181. timers (1.1.0)
  182. todonotes (0.1.0)
  183. treetop (1.4.12, 1.4.10)
  184. twitter-bootstrap-rails (2.2.6, 2.1.9)
  185. twitter_bootstrap_form_for (1.0.5)
  186. tzinfo (0.3.37, 0.3.33)
  187. tzip (0.0.4)
  188. uglifier (2.1.0, 1.3.0)
  189. unf (0.1.1, 0.0.5)
  190. unf_ext (0.0.6, 0.0.5)
  191. unicorn (4.6.2)
  192. uniform_notifier (1.2.0)
  193. uuid (2.3.7)
  194. uuidtools (2.1.4)
  195. vegas (0.1.11)
  196. warden (1.2.1)
  197. watchr (0.7)
  198. webrobots (0.1.1, 0.0.13)
  199. websocket (1.0.7)
  200. whenever (0.8.2, 0.8.1)
  201. will_paginate (3.0.4, 3.0.3)
  202. will_paginate-bootstrap (0.2.2, 0.2.1)
  203. xml-simple (1.1.3)
  204. xpath (1.0.0)
  205.  
  206. * ←[33mexecuting "cp -RPp /home/deployer/loadmax/shared/cached-copy /home/depl
  207. oyer/loadmax/releases/20140406221840 && (echo 09088e877cce118abff9d67013b3aa2155
  208. 6b8c71 > /home/deployer/loadmax/releases/20140406221840/REVISION)"←[0m
  209. servers: ["www.loadmax.com", "workers.loadmax.com"]
  210. [www.loadmax.com] executing command
  211. [workers.loadmax.com] executing command
  212. ←[2;37mcommand finished in 424ms←[0m
  213. * ←[32m2014-04-06 17:18:41 executing `deploy:finalize_update'←[0m
  214. triggering before callbacks for `deploy:finalize_update'
  215. * ←[32m2014-04-06 17:18:41 executing `bundle:install'←[0m
  216. * ←[33mexecuting "cd /home/deployer/loadmax/releases/20140406221840 && bundle
  217. install --gemfile /home/deployer/loadmax/releases/20140406221840/Gemfile --path
  218. /home/deployer/loadmax/shared/bundle --deployment --quiet --without development
  219. test"←[0m
  220. servers: ["www.loadmax.com", "workers.loadmax.com"]
  221. [www.loadmax.com] executing command
  222. [workers.loadmax.com] executing command
  223. ** [out :: www.loadmax.com] Gem::Installer::ExtensionBuildError: ERROR: Failed
  224. to build gem native extension.
  225. ** [out :: www.loadmax.com]
  226. ** [out :: www.loadmax.com] /usr/local/rvm/rubies/ruby-1.9.3-head/bin/ruby extc
  227. onf.rb
  228. ** [out :: www.loadmax.com] checking for pg_config... no
  229. ** [out :: www.loadmax.com] No pg_config... trying anyway. If building fails, p
  230. lease try again with
  231. ** [out :: www.loadmax.com] --with-pg-config=/path/to/pg_config
  232. ** [out :: www.loadmax.com] checking for libpq-fe.h... no
  233. ** [out :: www.loadmax.com] Can't find the 'libpq-fe.h header
  234. ** [out :: www.loadmax.com] *** extconf.rb failed ***
  235. ** [out :: www.loadmax.com] Could not create Makefile due to some reason, proba
  236. bly lack of
  237. ** [out :: www.loadmax.com] necessary libraries and/or headers. Check the mkmf
  238. .log file for more
  239. ** [out :: www.loadmax.com] details. You may need configuration options.
  240. ** [out :: www.loadmax.com]
  241. ** [out :: www.loadmax.com] Provided configuration options:
  242. ** [out :: www.loadmax.com] --with-opt-dir
  243. ** [out :: www.loadmax.com] --without-opt-dir
  244. ** [out :: www.loadmax.com] --with-opt-include
  245. ** [out :: www.loadmax.com] --without-opt-include=${opt-dir}/include
  246. ** [out :: www.loadmax.com] --with-opt-lib
  247. ** [out :: www.loadmax.com] --without-opt-lib=${opt-dir}/lib
  248. ** [out :: www.loadmax.com] --with-make-prog
  249. ** [out :: www.loadmax.com] --without-make-prog
  250. ** [out :: www.loadmax.com] --srcdir=.
  251. ** [out :: www.loadmax.com] --curdir
  252. ** [out :: www.loadmax.com] --ruby=/usr/local/rvm/rubies/ruby-1.9.3-head/bin/ru
  253. by
  254. ** [out :: www.loadmax.com] --with-pg
  255. ** [out :: www.loadmax.com] --without-pg
  256. ** [out :: www.loadmax.com] --with-pg-dir
  257. ** [out :: www.loadmax.com] --without-pg-dir
  258. ** [out :: www.loadmax.com] --with-pg-include
  259. ** [out :: www.loadmax.com] --without-pg-include=${pg-dir}/include
  260. ** [out :: www.loadmax.com] --with-pg-lib
  261. ** [out :: www.loadmax.com] --without-pg-lib=${pg-dir}/lib
  262. ** [out :: www.loadmax.com] --with-pg-config
  263. ** [out :: www.loadmax.com] --without-pg-config
  264. ** [out :: www.loadmax.com] --with-pg_config
  265. ** [out :: www.loadmax.com] --without-pg_config
  266. ** [out :: www.loadmax.com]
  267. ** [out :: www.loadmax.com]
  268. ** [out :: www.loadmax.com] Gem files will remain installed in /home/deployer/l
  269. oadmax/shared/bundle/ruby/1.9.1/gems/pg-0.15.1 for inspection.
  270. ** [out :: www.loadmax.com] Results logged to /home/deployer/loadmax/shared/bun
  271. dle/ruby/1.9.1/gems/pg-0.15.1/ext/gem_make.out
  272. ** [out :: www.loadmax.com] An error occurred while installing pg (0.15.1), and
  273. Bundler cannot continue.
  274. ** [out :: www.loadmax.com] Make sure that `gem install pg -v '0.15.1'` succeed
  275. s before bundling.
  276. ←[2;37mcommand finished in 91186ms←[0m
  277. *** [←[34mdeploy:update_code←[0m] ←[34mrolling back←[0m
  278. * ←[33mexecuting "rm -rf /home/deployer/loadmax/releases/20140406221840; true"
  279. ←[0m
  280. servers: ["www.loadmax.com", "workers.loadmax.com"]
  281. [www.loadmax.com] executing command
  282. [workers.loadmax.com] executing command
  283. ←[2;37mcommand finished in 368ms←[0m
  284. failed: "sh -c 'cd /home/deployer/loadmax/releases/20140406221840 && bundle inst
  285. all --gemfile /home/deployer/loadmax/releases/20140406221840/Gemfile --path /hom
  286. e/deployer/loadmax/shared/bundle --deployment --quiet --without development test
  287. '" on www.loadmax.com
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement