-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
I'm receiving the following error when starting my application after upgrading Rack from 2.1.2 to 2.2.1:
TypeError: no implicit conversion of nil into String
/app/vendor/bundle/ruby/2.7.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:25:in `join'
/app/vendor/bundle/ruby/2.7.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:25:in `block in guess'
/app/vendor/bundle/ruby/2.7.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:24:in `each'
/app/vendor/bundle/ruby/2.7.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:24:in `guess'
/app/vendor/bundle/ruby/2.7.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:168:in `load_adapter'
/app/vendor/bundle/ruby/2.7.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:74:in `start'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.1/lib/rack/handler/thin.rb:27:in `run'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.1/lib/rack/server.rb:327:in `start'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.1/lib/rack/server.rb:168:in `start'
/app/vendor/bundle/ruby/2.7.0/gems/rack-2.2.1/bin/rackup:5:in `<top (required)>'
/app/vendor/bundle/ruby/2.7.0/bin/rackup:23:in `load'
/app/vendor/bundle/ruby/2.7.0/bin/rackup:23:in `<top (required)>'
I'm running rackup
like this: bundle exec rackup -p 4567 -o 0.0.0.0
My config.ru
looks like this:
# frozen_string_literal: true
require 'rubygems'
require 'bundler'
Bundler.setup
$LOAD_PATH << './lib'
require 'international_transfers_service'
run InternationalTransfersServiceApp
The full repo is available in batect/batect-sample-ruby#145.