Deploy the application to Heroku and get "such a file to download - will_paginate"

I am running Ruby 1.8.6, Rails 1.2 application on Heroku. I am using Aspen stack . When trying to deploy, the application crashes.

This is what I have in the magazine

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`  `  

      

EDIT: As suggested, I asked Heroku support to install the will_paginate gem. I'll keep you guys updated on the results.

+3


source to share


1 answer


You are missing a gem will_paginate

.

If it will_paginate

supports 1.8.6, you need to add a manifest .gems

. If you are using Bundler add it to your Gemfile and package before deploying.



http://devcenter.heroku.com/articles/gems

+1


source







All Articles