doc/kafka-playground/config/environment.rb in rimless-1.5.1 vs doc/kafka-playground/config/environment.rb in rimless-1.6.0

- old
+ new

@@ -1,5 +1,7 @@ +# frozen_string_literal: true + ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__) require 'bundler/setup' # Set up gems listed in the Gemfile. require 'active_support' require 'active_support/all' require 'json' @@ -28,10 +30,10 @@ # regular glibc facility. This raises an issue for our local development as we # use the mDNS stack which is configured in every Docker image accordingly # (Avahi, libnss[-mdns]). The default resolver of +Resolv+ does not include the # mDNS stack so we have to reconfigure it here for local usage only. # -# See: https://docs.ruby-lang.org/en/2.5.0/Resolv.html +# See: https://docs.ruby-lang.org/en/2.7.0/Resolv.html require 'resolv' Resolv::DefaultResolver.replace_resolvers( [ Resolv::Hosts.new, Resolv::MDNS.new,