Skip to content

Instantly share code, notes, and snippets.

@lorenjohnson
Created January 24, 2011 15:16
Show Gist options
  • Save lorenjohnson/793353 to your computer and use it in GitHub Desktop.
Save lorenjohnson/793353 to your computer and use it in GitHub Desktop.
Errors on Deploy
MacBookPros-MacBook-Pro:goodgift loren$ git push heroku master
Counting objects: 589, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (288/288), done.
Writing objects: 100% (589/589), 228.89 KiB, done.
Total 589 (delta 280), reused 502 (delta 250)
-----> Heroku receiving push
-----> Rails app detected
-----> Detected Rails is not set to serve static_assets
Installing rails3_serve_static_assets... done
-----> Gemfile detected, running Bundler version 1.0.3
Unresolved dependencies detected; Installing...
Fetching source index for http://rubygems.org/
Fetching git://github.com/odorcicd/authlogic.git
Fetching https://github.com/causes/mogli.git
got 40fdb5da12a360254df72b65ff865c266bce4fe0
walk 40fdb5da12a360254df72b65ff865c266bce4fe0
got 81320d7f7ba27da380312eff44ce25c96fa2bef1
Getting alternates list for https://github.com/causes/mogli.git
Also look at https://github.com/network/625294.git/
got 1576cfedf43e6b80cc0083a5ba06cdc819f76d98
got d4a42ea5d83d217699777c2dff7a3ad8c6fb8bc8
Getting pack list for https://github.com/causes/mogli.git
Getting pack list for https://github.com/network/625294.git/
Getting index for pack ecf4623069eb102781a95471d190d521bb6c393d
Getting index for pack 2a31fafe4e9c54ab7b6245d19d1b73e2a8b3be07
Getting pack 2a31fafe4e9c54ab7b6245d19d1b73e2a8b3be07
which contains 2623502d457f61f282ccea28794b7c33662f90b0
walk 2623502d457f61f282ccea28794b7c33662f90b0
walk ae03d69ca9bfe5659be8c99beb3dc8483591519a
walk 9a14f93822e2ecd9ad5b12285552b5f37e86bb68
walk 0467f8a17ea8a2977b973ae9f2b0aa8a2019251e
got 194ef4036fa01822fd25b5aea5dfca87944e5d44
got 8e9f5d5fb7589e356e43463b7347ee94090a03d1
got 786e09e80d875783b3301d8891774975acdd2ec8
got 2ea296478863fea7262061d8be5beaf32d6054ad
got 86867cd35e7d80cb50a8037df45abefe89e99f30
walk b532a296fa97b376ceb45b942bd5448d7af20fc9
walk f2c7c0882293f027c222f3c9391070496b71a881
walk 752cfedb48d958dd3a7401a2d1aceaef4797ca04
got a268773040b959e5d7878eb44616c7e2c536d534
got da8b7baa6185c8120d4c48b3d739f77f67d2c12f
got ab3485d5bfabb2fee056d8704c71b00bdcab276a
got f1baf9c879c8f31d4c98f5107ef6bb4e6c7e0db6
got 616bf0e7f01c07195be2924bc3ca02cdd498900f
got abaff5f2ceff0e8d875ab8925a72dad7b59bb28e
walk 01d328b1b17f839100c8c99b8138e9a79f3a7881
walk aedb28efd412bdfb1286f0a203974d38b7ea12f6
walk 1f1eaa4888632233cfa90515a7971a9782c86645
walk 841e3015c204866cfdbd456d5d1de448cbbfae00
walk ef052276e1dffd71a4495b87173e7084ba2f287e
walk 65fec56ac27e5b8a657da6cbebe34b0bb97ba4e6
walk fcbc38036e14a503ece67e733490b502b5efb455
walk 2b9dabcb250ae8bfcd8dc182ce96667c327e6e3a
walk a37e92a22613a1ce8c9d62113c735c414f12f6e6
walk 893d4498c7b4c1030fa26e3f6600014d3848f9cc
walk 382247272dc9c03424efb375a09896cb54195846
walk 2caed32b04916ce238d6af7d06db0481c9789720
walk c86dd935c868c1f044bad34934b10d0140226b5b
walk beae79b5fca2da6b24af7d1505dcfee27a464d9c
walk 3a65c072f4ecdc1930a4ddbca5a8ab323337fff5
walk 9f1cfddf2e5658bb7ee0720e434e2bea5848be3f
walk 2043723c96bb8a13ebe9098a75118a927d017560
walk 79dcb3f0200134ed0e16177c2af3803ed1febe58
walk 0d513a5c678e195a7f7780cd802b577e78a728b1
walk 9cb63369e330d0873363a4b857f2b920ab8b01bb
walk a12af202d356228aa45299bf2aebe1cb2fb38d54
walk 6f240d3a38f1c6e483ea8e821b5ce610ca54ae94
walk b4035f78161119d564a13f0aff7dc2c752faae0e
walk d81103dc3cfe2d90a571c2b207d371e1305c97f2
walk 8cf17681bea1b730b0bd3ec4c0b42f72a46d8c4f
walk 267fe54797881de3b566dc9de89a9cb90f7e0ff8
walk 9d7aa1623aeaa2f4dea99ab7a3ad740cff82de4b
walk e16b6c62a98dfa3c9c9696ff7fed5774293b4a49
walk 38eaefa873b0dbb1b3b4dcb3993ae45b0fd27792
walk 935126a39711bbd96a1c4f2bb1607d40a11ea3f7
walk 4732ea2dc55029c5dc64376d8c4522b20a5ae5e4
walk edc2b73c3381d6a930a932b57acbb3af1233a4a7
walk 9a39f18da7454f049909df39f1bf71884a1e7e33
walk 47e56fad91327c30018e4f5c83497d1be1d7d467
walk 5bb06bcef8b376c56204906ebd379b5a94dd95bb
walk 18cf398409653d7fc4687eb5f18657462111ddde
walk b174b1ed8c1718c1ac777a746017bec9866818ac
walk 71f334b8b0bdf824b73969072ae81729f154e1f1
walk 8dfcfd596f9c90511fc75918bd388a91c772686f
walk 65c9b703c368d243a0a4cbafbff2bfee27746765
walk d7de0d57dd8da89ada4f69444edbf004c5918304
walk 7a59479e2a50ca226362625af07e374473982689
walk 7466dab95724ea271d2c30a02008629191cd5aaa
walk d19651a0fb2cf37df541288c002a4570d51584c2
walk cb1add383741016e96fa5374bc319bb34f7cfc36
walk 3e9d6b484b714b39de945edff9097171a2e0e2de
walk 115d30ac11e4c0e0959fa085343561104c52ab21
walk 2f90b92ac29849b09c462ec70cab53b39633e106
walk 5bae255189bc53a78a5a2159eed6d2a186ec52a0
walk 44f030609caeff38891bb1e7ebf6d5ab7e2150fc
walk 849f63c99d5306701c363b6b563e1dc56e793092
walk f941e4694be819560ea8e9d8b26fc50424e321a4
walk 73353154d654f577033ea8b86b0841ed4dfa948d
walk 3389aaff1ac86622da317791a512c32c933a5844
walk 0ce29c11a418c0ade673624f6d54f9140f6c0824
walk 55a0cc89aaef61e63ecf31c3300db2b720934d4d
walk 7ae5c863f1d29f01bbd1ee32aa3efba5beb06676
walk b798702dbef017ff5f5c50661325cadd294010f0
walk 6f295742c6e190b2099af2b98dfb7588aaa72fce
walk 118894e0f0c40e12f7bca777c97421712fb5ab67
walk 10f533c9e71f34ba6d16b28f187198e20f9f0d15
walk b175e058ddadf2c777b81376d61f28572151cba8
walk 756984d54f82bfbef31760769979e2d889566031
walk f577f922385c11100ece0cc7396b862aaa33124d
walk 1446138a3872a85fbfa1ec3aeea09d117ff90522
walk 7aaedbc46d4ebe5577a6d8280c9b8bd6d0e3480d
walk 63e374bc82392097d9ab0c000ed732376dc299b9
walk a7d8e6b2fdf84021d34fe45a3d0020f4c389f978
walk 177467be8d902b5dac401f67f3c3f84dcdacf170
walk e86fcc6d24f0c0f5a7bfb9e180bf7a72000888ea
walk af3e4f1d3973a1b96180fa33d93daae5a34fbfe4
Installing rake (0.8.7)
Installing abstract (1.0.0)
Installing activesupport (3.0.3)
Installing builder (2.1.2)
Installing i18n (0.5.0)
Installing activemodel (3.0.3)
Installing erubis (2.6.6)
Installing rack (1.2.1)
Installing rack-mount (0.6.13)
Installing rack-test (0.5.6)
Installing tzinfo (0.3.23)
Installing actionpack (3.0.3)
Installing mime-types (1.16)
Installing polyglot (0.3.1)
Installing treetop (1.4.9)
Installing mail (2.2.12)
Installing actionmailer (3.0.3)
Installing arel (2.0.6)
Installing activerecord (3.0.3)
Installing activeresource (3.0.3)
Installing archive-tar-minitar (0.5.2)
Using authlogic (2.1.3) from git://github.com/odorcicd/authlogic.git (at rails3)
Installing xml-simple (1.0.12)
Installing aws-s3 (0.6.2)
Installing columnize (0.3.2)
Installing haml (3.0.24)
Installing compass (0.10.6)
Installing crack (0.1.8)
Installing hashie (0.4.0)
Installing httparty (0.6.1)
Using mogli (0.0.13) from https://github.com/causes/mogli.git (at master)
Installing ruby-hmac (0.4.0)
Installing facebooker2 (0.0.5)
Installing has_scope (0.5.0)
Installing responders (0.6.2)
Installing inherited_resources (1.1.2)
Installing json (1.4.6) with native extensions
Installing kgio (2.0.0) with native extensions
Installing ruby_core_source (0.1.4)
Installing linecache19 (0.5.11) with native extensions /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/installer.rb:483:in `build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
/usr/ruby1.8.7/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/usr/ruby1.8.7/bin/ruby
extconf.rb:2:in `require': no such file to load -- ruby_core_source (LoadError)
from extconf.rb:2
Gem files will remain installed in /disk1/tmp/build_1y23rn85y3grv/.bundle/gems/ruby/1.8/gems/linecache19-0.5.11 for inspection.
Results logged to /disk1/tmp/build_1y23rn85y3grv/.bundle/gems/ruby/1.8/gems/linecache19-0.5.11/ext/trace_nums/gem_make.out
from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/installer.rb:446:in `each'
from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/installer.rb:446:in `build_extensions'
from /usr/ruby1.8.7/lib/ruby/site_ruby/1.8/rubygems/installer.rb:198:in `install'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/source.rb:100:in `install'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/installer.rb:55:in `run'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/spec_set.rb:12:in `each'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/spec_set.rb:12:in `each'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/installer.rb:44:in `run'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/installer.rb:8:in `install'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/cli.rb:221:in `install'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22:in `send'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/task.rb:22:in `run'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/invocation.rb:118:in `invoke_task'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor.rb:246:in `dispatch'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/lib/bundler/vendor/thor/base.rb:389:in `start'
from /usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.3/bin/bundle:13
from /usr/ruby1.8.7/bin/bundle:19:in `load'
from /usr/ruby1.8.7/bin/bundle:19
FAILED: http://docs.heroku.com/bundler
! Heroku push rejected, failed to install gems via Bundler
error: hooks/pre-receive exited with error code 1
To git@heroku.com:floating-sunset-563.git
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'git@heroku.com:floating-sunset-563.git'
MacBookPros-MacBook-Pro:goodgift loren$
@lorenjohnson
Copy link
Author

linecache19 is usually required by Ruby Debug and therefore can be excluded in a Heroku deploy by making sure ruby_debug is in the :test or :development Bundler group and that these groups are excluded. However, in this case it is inherited_resources which is depending on linecache19 which I need for production....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment