Page MenuHomeDevCentral

ActiveSupport + Hash / Sinatra loading order
Closed, ResolvedPublic

Description

At rackup start, the following Sinatra warning is displayed.

When launching directly the tommy.rb application, it doesn't show.

Ysul
$ bundle exec rackup -o 0.0.0.0 -p 4567
WARNING: If you plan to load any of ActiveSupport's core extensions to Hash, be
sure to do so *before* loading Sinatra::Application or Sinatra::Base. If not,
you may disregard this warning.
[2018-09-21 09:23:55] INFO  WEBrick 1.3.1
[2018-09-21 09:23:55] INFO  ruby 2.2.10 (2018-03-28) [x86_64-freebsd11.2]
[2018-09-21 09:23:55] INFO  WEBrick::HTTPServer#start: pid=33125 port=4567