Page MenuHomeDevCentral

ActiveSupport + Hash / Sinatra loading order
Closed, ResolvedPublic


At rackup start, the following Sinatra warning is displayed.

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

$ bundle exec rackup -o -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

Revisions and Commits