"master bosses" stuck

I have a locally developed Rails application. It is very simple, without a database, but only for a controller that accesses Facebook data and displays them in sight. By the way, gem RestGraph is used .

Before I click this application on the hero, I used the wizard to check it. Since I used WEBrick, before I need to install a “thin” stone and create a Procfile that states:

web: bundle exec thin start -R config.ru -e $RACK_ENV -p $PORT

Also needed is an .env file that states:

RACK_ENV=development
PORT=3000

The config.ru file is generated by rails, which reads:

require ::File.expand_path('../config/environment',  __FILE__)
run Myapp::Application

Now I have entered the “wizard starter”, but all I get is one line:

15:33:18 web.1     | started with pid 27143

The server is not loading. And if I complete it, the error will be:

/usr/local/foreman/lib/foreman/engine.rb:141: [BUG] rb_sys_fail() - errno == 0

This is not very helpful.

+3
2

, , "", : "start wit pid #"

,

$stdout.sync = true

config.ru

.

+1

. procfile:

bundle exec rails server thin -p $PORT

.env .

, , , 5000

0

All Articles