Note that there are some explanatory texts on larger screens.

plurals
  1. PODeploying an application to Heroku and getting "no such file to load -- will_paginate"
    primarykey
    data
    text
    <p>I am running a Ruby 1.8.6, Rails 1.2 application on Heroku. I am using the <a href="https://devcenter.heroku.com/articles/aspen" rel="nofollow">Aspen stack</a>. When I attempt to deploy, the app crashes.</p> <p>Here is what I have in the log</p> <pre><code>2012-03-13T08:43:44-07:00 heroku[slugc]: Slug compilation started 2012-03-13T15:43:49+00:00 heroku[api]: Release v4 created by sunny.lanke@gmail.com 2012-03-13T15:43:49+00:00 heroku[api]: Deploy 5c774a1 by sunny.lanke@gmail.com 2012-03-13T15:43:50+00:00 heroku[web.1]: State changed from created to starting 2012-03-13T08:43:50-07:00 heroku[slugc]: Slug compilation finished 2012-03-13T15:43:52+00:00 heroku[web.1]: Starting process with command `thin -p 14350 -e production -R /home/heroku_rack/heroku.ru start` 2012-03-13T15:43:55+00:00 app[web.1]: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- will_paginate (MissingSourceFile) 2012-03-13T15:43:55+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 2012-03-13T15:43:55+00:00 app[web.1]: from /app/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require' 3:55+00:00 app[web.1]: from /app/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:343:in `new_constants_in' 2012-03-13T15:43:55+00:00 app[web.1]: from /app/config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:496:in `require' 2012-03-13T15:43:55+00:00 app[web.1]: from /app/config/environment.rb:73 2012-03-13T15:43:55+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems /custom_require.rb:31:in `gem_original_require' 2012-03-13T15:43:55+00:00 app[web.1]: from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' 2012-03-13T15:43:55+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/thin-1.0.1/lib/rack/adapter/rails.rb:31:in `load_application' 2012-03-13T15:43:55+00:00 app[web.1]: ... 12 levels... 2012-03-13T15:43:55+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `initialize' 2012-03-13T15:43:55+00:00 app[web.1]: from /usr/local/lib/ruby/gems/1.8/gems/rack-1.0.1/lib/rack/builder.rb:29:in `instance_eval' 2012-03-13T15:43:55+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1:in `new' 2012-03-13T15:43:55+00:00 app[web.1]: from /home/heroku_rack/heroku.ru:1 2012-03-13T15:43:56+00:00 heroku[web.1]: Process exited with status 1 2012-03-13T15:43:56+00:00 heroku[web.1]: State changed from starting to crashed 2012-03-13T15:43:56+00:00 heroku[web.1]: State changed from crashed to created 2012-03-13T15:43:56+00:00 heroku[web.1]: State changed from created to starting 2012-03-13T15:43:59+00:00 heroku[web.1]: Starting process with command `thin -p 54230 -e production -R /home/heroku_rack/heroku.ru start` ` </code></pre> <p>EDIT: As per the suggestion, I have asked Heroku support to install the gem will_paginate. I will keep you guys posted about the result.</p>
    singulars
    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.
 

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