Note that there are some explanatory texts on larger screens.

plurals
  1. POlinecache19 error on push to Heroku
    primarykey
    data
    text
    <p>I've had the error below in the past, while trying to do a git push Heroku master, and it has been due to having </p> <pre><code>gem 'ruby-debug19', :require =&gt; 'ruby-debug' </code></pre> <p>in my Gem file. </p> <pre><code>An error occurred while installing linecache19 (0.5.12), and Bundler cannot continue. Make sure that `gem install linecache19 -v '0.5.12'` succeeds before bundling. ! Failed to install gems via Bundler. ! Heroku push rejected, failed to compile Ruby/rails app </code></pre> <p>Commenting out the gem and running bundle install and re-pushing usually does the trick, but not this time.</p> <p>Linecache19 seems to be a dependency of ruby-debug19, so I don't understand why Heroku is trying to install linecache19 when I have removed ruby-debug19 from the Gem file</p> <p>My gemfile.lock file is as follows:</p> <pre><code>specs: activeadmin (0.4.3) bourbon (&gt;= 1.0.0) devise (&gt;= 1.1.2) fastercsv formtastic (&gt;= 2.0.0) inherited_resources (&gt; 0) jquery-rails (&gt;= 1.0.0) kaminari (&gt;= 0.13.0) meta_search (&gt;= 0.9.2) rails (&gt;= 3.0.0) sass (&gt;= 3.1.0) GEM remote: https://rubygems.org/ specs: actionmailer (3.2.1) actionpack (= 3.2.1) mail (~&gt; 2.4.0) actionpack (3.2.1) activemodel (= 3.2.1) activesupport (= 3.2.1) builder (~&gt; 3.0.0) erubis (~&gt; 2.7.0) journey (~&gt; 1.0.1) rack (~&gt; 1.4.0) rack-cache (~&gt; 1.1) rack-test (~&gt; 0.6.1) sprockets (~&gt; 2.1.2) activemodel (3.2.1) activesupport (= 3.2.1) builder (~&gt; 3.0.0) activerecord (3.2.1) activemodel (= 3.2.1) activesupport (= 3.2.1) arel (~&gt; 3.0.0) tzinfo (~&gt; 0.3.29) activeresource (3.2.1) activemodel (= 3.2.1) activesupport (= 3.2.1) activesupport (3.2.1) i18n (~&gt; 0.6) multi_json (~&gt; 1.0) arel (3.0.0) bcrypt-ruby (3.0.1) bourbon (1.4.0) sass (&gt;= 3.1) builder (3.0.0) coffee-rails (3.2.2) coffee-script (&gt;= 2.2.0) railties (~&gt; 3.2.0) coffee-script (2.2.0) coffee-script-source execjs coffee-script-source (1.2.0) commonjs (0.2.6) devise (2.0.0) bcrypt-ruby (~&gt; 3.0) orm_adapter (~&gt; 0.0.3) railties (~&gt; 3.1) warden (~&gt; 1.1) erubis (2.7.0) execjs (1.3.0) multi_json (~&gt; 1.0) fastercsv (1.5.4) foreigner (1.1.2) activerecord (&gt;= 3.0.0) formtastic (2.1.1) actionpack (~&gt; 3.0) has_scope (0.5.1) hike (1.2.1) i18n (0.6.0) inherited_resources (1.3.1) has_scope (~&gt; 0.5.0) responders (~&gt; 0.6) journey (1.0.1) jquery-rails (2.0.0) railties (&gt;= 3.2.0.beta, &lt; 5.0) thor (~&gt; 0.14) json (1.6.5) kaminari (0.13.0) actionpack (&gt;= 3.0.0) activesupport (&gt;= 3.0.0) railties (&gt;= 3.0.0) less (2.2.1) commonjs (~&gt; 0.2.6) less-rails (2.2.3) actionpack (&gt;= 3.1) less (~&gt; 2.2.0) libv8 (3.3.10.4) macaddr (1.5.0) systemu (&gt;= 2.4.0) mail (2.4.1) i18n (&gt;= 0.4.0) mime-types (~&gt; 1.16) treetop (~&gt; 1.4.8) meta_search (1.1.3) actionpack (~&gt; 3.1) activerecord (~&gt; 3.1) activesupport (~&gt; 3.1) polyamorous (~&gt; 0.5.0) mime-types (1.17.2) multi_json (1.0.4) orm_adapter (0.0.6) pg (0.12.2) polyamorous (0.5.0) activerecord (~&gt; 3.0) polyglot (0.3.3) rack (1.4.1) rack-cache (1.1) rack (&gt;= 0.4) rack-ssl (1.3.2) rack rack-test (0.6.1) rack (&gt;= 1.0) rails (3.2.1) actionmailer (= 3.2.1) actionpack (= 3.2.1) activerecord (= 3.2.1) activeresource (= 3.2.1) activesupport (= 3.2.1) bundler (~&gt; 1.0) railties (= 3.2.1) railties (3.2.1) actionpack (= 3.2.1) activesupport (= 3.2.1) rack-ssl (~&gt; 1.3.2) rake (&gt;= 0.8.7) rdoc (~&gt; 3.4) thor (~&gt; 0.14.6) rake (0.9.2.2) rdoc (3.12) json (~&gt; 1.4) responders (0.9.0) railties (~&gt; 3.1) sass (3.1.14) sass-rails (3.2.4) railties (~&gt; 3.2.0) sass (&gt;= 3.1.10) tilt (~&gt; 1.3) sprockets (2.1.2) hike (~&gt; 1.2) rack (~&gt; 1.0) tilt (~&gt; 1.1, != 1.3.0) systemu (2.4.2) therubyracer (0.10.1) libv8 (~&gt; 3.3.10) thor (0.14.6) tilt (1.3.3) treetop (1.4.10) polyglot polyglot (&gt;= 0.3.1) twitter-bootstrap-rails (2.1.1) actionpack (&gt;= 3.1) less-rails (~&gt; 2.2.2) railties (&gt;= 3.1) therubyracer (= 0.10.1) tzinfo (0.3.31) uglifier (1.2.3) execjs (&gt;= 0.3.0) multi_json (&gt;= 1.0.2) uuid (2.3.5) macaddr (~&gt; 1.0) warden (1.1.0) rack (&gt;= 1.0) PLATFORMS ruby DEPENDENCIES activeadmin! coffee-rails (~&gt; 3.2.1) devise (= 2.0.0) foreigner jquery-rails (&gt;= 1.0.12) pg rails (= 3.2.1) sass-rails (~&gt; 3.2.3) twitter-bootstrap-rails uglifier (&gt;= 1.0.3) uuid </code></pre> <p>Why is Heroku still trying to install linecache19, and how can I get round this problem?</p> <p>eg can I empty my Heroku master and re-push from scratch? (it's not production so I can afford that)</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload