Note that there are some explanatory texts on larger screens.

plurals
  1. POAutoloading ruby gem warning, may be causing Heroku application error?
    primarykey
    data
    text
    <p>I have a very simple Ruby <a href="http://get-serve.com/" rel="nofollow">Serve</a> prototype website, which works fine locally but doesn't work on Heroku:</p> <pre><code>Aug 02 12:35:40 localp app/web.1: [2013-08-02 11:35:40] INFO WEBrick 1.3.1 Aug 02 12:35:40 localp app/web.1: [2013-08-02 11:35:40] INFO ruby 1.9.3 (2013-06-27) [x86_64-linux] Aug 02 12:35:40 localp app/web.1: [2013-08-02 11:35:40] INFO WEBrick::HTTPServer#start: pid=2 port=4000 Aug 02 12:36:39 localp heroku/web.1: Error R10 (Boot timeout) -&gt; Web process failed to bind to $PORT within 60 seconds of launch Aug 02 12:36:39 localp heroku/web.1: Stopping process with SIGKILL Aug 02 12:36:41 localp heroku/web.1: Process exited with status 137 Aug 02 12:36:41 localp heroku/web.1: State changed from starting to crashed </code></pre> <p>I <em>think</em> it may have something to do with gems not loading properly, as this is the <strong>local</strong> warning I get:</p> <pre><code>[2013-08-02 12:39:22] INFO WEBrick 1.3.1 [2013-08-02 12:39:22] INFO ruby 1.9.3 (2012-10-12) [x86_64-darwin12.2.0] [2013-08-02 12:39:22] INFO WEBrick::HTTPServer#start: pid=79265 port=4000 WARN: serve autoloading 'slim' in a non thread-safe way; explicit require 'slim' suggested. WARN: serve autoloading 'slim' in a non thread-safe way; explicit require 'slim' suggested. WARN: serve autoloading 'slim' in a non thread-safe way; explicit require 'slim' suggested. WARN: serve autoloading 'slim' in a non thread-safe way; explicit require 'slim' suggested. WARN: tilt autoloading 'redcarpet' in a non thread-safe way; explicit require 'redcarpet' suggested. WARN: tilt autoloading 'rdiscount' in a non thread-safe way; explicit require 'rdiscount' suggested. 127.0.0.1 - local [02/Aug/2013 12:40:10] "GET /wireframes/ HTTP/1.1" 200 - 0.2049 127.0.0.1 - local [02/Aug/2013 12:40:10] "GET /styles/style.css HTTP/1.1" 200 765 0.0018 127.0.0.1 - local [02/Aug/2013 12:40:10] "GET /favicon.ico HTTP/1.1" 404 31 0.0026 </code></pre> <p>I have tried requiring gems explicitly but I get the same error message. Here is my Gemfile:</p> <pre><code>source 'https://rubygems.org' ruby '1.9.3' gem 'serve', '1.5.2' gem 'rack-contrib' gem 'compass' gem 'sass-globbing' gem 'rdiscount', :require =&gt; 'rdiscount' gem 'slim', :require =&gt; 'slim' </code></pre> <p>FWIW, here is my Procfile:</p> <pre><code>web: bundle exec rackup config.ru -p $PORT </code></pre> <p>I've had a look all over Stack Overflow. There are some answers but they relate to precompiling assets on Rails. Any ideas what the issue could be? </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