HVboom - Remove Puma server

Public
Remove the Puma gem, because I run Rails apps through Phusion Passenger
Icons/chart bar
Used 5 times
Created by
M Mario Lotz

Usage
Puma is not needed due to the fact, that I use Phusion Passenger as my Web Application Server.

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/zJospq"
Template Source

Review the code before running this template on your machine.

gsub_file "Gemfile", /^.*puma.*$/,''

Bundler.with_unbundled_env { run "bundle clean --force" }

say_status :info, "✅  Puma server removed!"
Comments

Sign up or Login to leave a comment.