Open MtnBiker opened 2 years ago
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'`
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?
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.
gem "puma"
bundle install
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?