Reputation: 1006
I'm using Puma on Heroku for my server. When i have the Puma gem installed my dev environment boots up with Puma as the server. I don't seem to be able to shut that off without pulling the pum gem from my gemfile.
I like the idea of using the save server in development as production but the puma server make it difficult to track my debug statements. Also i don't seem to have a way to change max threads, comes up as 16 in dev even though my puma.rb file sets it to 1.
Upvotes: 8
Views: 2351
Reputation: 2810
Just use puma in production mode. In your gemfile change gem 'puma'
with
#Gemfile
group :production do
gem 'puma'
end
and then run bundle install --without production
to install the gem .
Upvotes: 20