title: 'foreman start' is stuck
body: <p>I have a locally developed Rails application.  It is very simple, with no database but only a controller that accesses Facebook data and renders them in view.  By the way, gem <strong>RestGraph</strong> is used.</p>
  
  <p>Before I push this application to heroku, I used foreman start to test it.  Since I was using WEBrick before I need to install 'thin' gem and create a Procfile which reads:</p>
  
  <pre><code>web: bundle exec thin start -R config.ru -e $RACK_ENV -p $PORT
  </code></pre>
  
  <p>an '.env' file seems also required, which reads:</p>
  
  <pre><code>RACK_ENV=development
  PORT=3000
  </code></pre>
  
  <p>The 'config.ru' file is generate by rails, which reads:</p>
  
  <pre><code>require ::File.expand_path('../config/environment',  __FILE__)
  run Myapp::Application
  </code></pre>
  
  <p>Now I entered 'foreman start', but all I get is one line:</p>
  
  <pre><code>15:33:18 web.1     | started with pid 27143
  </code></pre>
  
  <p>The server will not boot. And if I force terminate it, the error is:</p>
  
  <pre><code>/usr/local/foreman/lib/foreman/engine.rb:141: [BUG] rb_sys_fail() - errno == 0
  </code></pre>
  
  <p>Which is not very helpful.</p>