Install the OpenSSL on Debian based systems
sudo apt-get install openssl| # username | |
| # appname | |
| # gemset | |
| [Unit] | |
| Description=Puma HTTP Server | |
| After=network.target | |
| [Service] | |
| Type=forking |
Find out what package installed the config file:
$ dpkg -S unity-greeter.conf
unity-greeter: /etc/lightdm/unity-greeter.conf
As you can see, the name of the package is unity-greeter.
If you deleted a directory, like /etc/pam.d, you can list every package that added to it by using the directory path:
| ### Add trailing slash if needed | |
| STR="/i/am/a/path" | |
| length=${#STR} | |
| last_char=${STR:length-1:1} | |
| [[ $last_char != "/" ]] && STR="$STR/"; : | |
| echo "$STR" # => /i/am/a/path/ |
You can have finer control with:
rake db:drop:all
And then create the database without running the migrations:
rake db:create:all
Then run all your migrations: