# Note: Copy below content and paste in sublime or your preferable editor and replace /home/username/#{app_dir} with directory of your project. you can get the path from command pwd in terminal while you are in your project directory on terminal
========================================
sudo nano /home/username/#{app_dir}/Gemfile
# Remove below code in the file and svae then exit
gem 'puma'
cd /home/username/#{app_dir}
# run bundle command to uninstall gem puma
bundle
# Remove puma.rb from config folder of your app.
sudo rm -rf /home/username/#{app_dir}/config/puma.rb
# Remove shared folder
sudo rm -rf -R /home/username/#{app_dir}/shared
cd ~
# Remove puma.conf puma-manager.conf
sudo rm -rf puma.conf puma-manager.conf
# Remove puma.conf puma-manager.conf in /etc/init folder
sudo rm -rf /etc/init/puma-manager.conf /etc/init/puma.conf
# Remove puma.conf in /etc folder
sudo rm -rf /etc/puma.conf
No comments:
Post a Comment