Coder Social home page Coder Social logo

Comments (6)

ezkl avatar ezkl commented on April 28, 2024 1

@TrevorBramble Try giving bundle exec rails s puma and bundle exec rackup -s puma a go. I just ran into a similar issue myself.

from puma.

ezkl avatar ezkl commented on April 28, 2024

Out of curiosity, do you have puma listed in your Gemfile?

from puma.

TrevorBramble avatar TrevorBramble commented on April 28, 2024

@ezkl I do indeed. Just gem 'puma', no version.

from puma.

TrevorBramble avatar TrevorBramble commented on April 28, 2024

@ezkl Yup. Those work. Thanks!

Strange, same versions of rack and puma are available outside of the bundle.

Not sure if this requires updated docs or any other code change, so leaving the issue open for a maintainer to review.

from puma.

evanphx avatar evanphx commented on April 28, 2024

Bundler currently neuters rubygems so the version outside the bundle won't be found. Because you're executing rackup and not rails s, you have to run it under bundle exec manually.

All that being said, it's odd that rails s puma didn't work. Maybe rails s isn't loading the Gemfile before looking for the server...

I'll ask the rails team. None the less, this isn't a puma bug we've figured out.

from puma.

linuxbender avatar linuxbender commented on April 28, 2024

FYI: same issue same error msg..but if you run only puma (without: rails s puma) in the rails project dir - it works fine - and the rails project runs without any problem - in my case.

from puma.

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.