Coder Social home page Coder Social logo

Comments (4)

leesmith avatar leesmith commented on June 11, 2024 2

With rails 6.0.2.1 and thin 1.7.2 , the latest version of rack I can use is 2.1.2 without getting said error.

from thin.

LindseyB avatar LindseyB commented on June 11, 2024 2

This sounds like this is a rack issue and not a thin issue in that case. I changed my sinatra setup to use puma instead of thin and it fixed my problem, but that's not truly a solution.

Edit:
Looks like rack/rack#1583 was fixed last night so likely the latest rack should fix this problem. There's also an issue open on rack about the future of thin support with rack.

from thin.

LindseyB avatar LindseyB commented on June 11, 2024

I'm hitting this also on my heroku instance that was working previous using ruby 2.7.0. Specifically this is a sinatra app.

2020-02-09T02:19:41.061545+00:00 heroku[web.1]: Process exited with status 1

2020-02-09T02:22:53.755337+00:00 heroku[web.1]: State changed from crashed to starting

2020-02-09T02:22:57.656672+00:00 heroku[web.1]: Starting process with command `bundle exec rackup -p 20454`

2020-02-09T02:23:02.390084+00:00 heroku[web.1]: State changed from starting to crashed

2020-02-09T02:23:02.371600+00:00 heroku[web.1]: Process exited with status 1

2020-02-09T02:23:02.266656+00:00 app[web.1]: bundler: failed to load command: rackup (/app/vendor/bundle/ruby/2.5.0/bin/rackup)

2020-02-09T02:23:02.266717+00:00 app[web.1]: TypeError: no implicit conversion of nil into String

2020-02-09T02:23:02.266718+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:25:in `join'

2020-02-09T02:23:02.266723+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:25:in `block in guess'

2020-02-09T02:23:02.266723+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:24:in `each'

2020-02-09T02:23:02.266724+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/thin-1.7.2/lib/rack/adapter/loader.rb:24:in `guess'

2020-02-09T02:23:02.266724+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:168:in `load_adapter'

2020-02-09T02:23:02.266724+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/thin-1.7.2/lib/thin/controllers/controller.rb:74:in `start'

2020-02-09T02:23:02.266724+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/rack-2.2.0/lib/rack/handler/thin.rb:27:in `run'

2020-02-09T02:23:02.266724+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/rack-2.2.0/lib/rack/server.rb:327:in `start'

2020-02-09T02:23:02.266725+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/rack-2.2.0/lib/rack/server.rb:168:in `start'

2020-02-09T02:23:02.266725+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/gems/rack-2.2.0/bin/rackup:5:in `<top (required)>'

2020-02-09T02:23:02.266725+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/bin/rackup:23:in `load'

2020-02-09T02:23:02.266730+00:00 app[web.1]:   /app/vendor/bundle/ruby/2.5.0/bin/rackup:23:in `<top (required)>'

It looks like the dir is nil when it tries to do a guess from my local prying into the gem. I'm trying to find a solution.

from thin.

ioquatix avatar ioquatix commented on June 11, 2024

Can you confirm if this is fixed?

from thin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.