Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ruby version mismatch between puma-dev and the Rails app #321

Open
MtnBiker opened this issue Oct 7, 2022 · 1 comment
Open

Ruby version mismatch between puma-dev and the Rails app #321

MtnBiker opened this issue Oct 7, 2022 · 1 comment

Comments

@MtnBiker
Copy link

MtnBiker commented Oct 7, 2022

Trying this out as I'd like to be able to run more than one app at a time.

For some apps I get this error in the browser:

unexpected exit: from ~/.gem/ruby/3.1.0/bin/puma:25:in

'`

I tried puma-dev with three apps one works. That app is ruby-3.1.0. The two apps that don't are ruby-3.1.0.

From the log:

Unable to load application: Bundler::RubyVersionMismatch: Your Ruby version is 3.1.0, but your Gemfile specified 3.1.2

macOS 12.6. Installed puma-dev today following https://world.hey.com/lewis/run-multiple-rails-apps-with-puma-dev-67b1c10f.

Is there a workaround for this? Or is it a bug? Or is my setup wrong?

@lewispb
Copy link

lewispb commented Oct 13, 2022

Hey @MtnBiker I've not run into this issue myself but it's worth checking that that gem "puma" is in each application's Gemfile, and after you've added it that you've run bundle install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants