-
Notifications
You must be signed in to change notification settings - Fork 1
Cheat sheet
Anusha Ranganathan edited this page May 1, 2018
·
4 revisions
To re-index all items from the rails console
ActiveFedora::Base.reindex_everything
Whenever you install a new version of Ruby or a gem that provides commands, like Rails does, you should run:
rbenv rehash
Puma
Rails restart enabled with puma
rails restart
To stop systemctl puma and run interactively
sudo disable puma.socket puma.service
sudo systemctl stop puma.socket puma.service
$ puma
To restart systemctl puma
sudo enable puma.socket puma.service
sudo systemctl start puma.socket puma.service