Add certain Rails files to .gitignore

Some files Rails creates or uses are not relevant version control, and have been added to the gitignore file. Already committed files have been removed from version control.
Run migrations

The devise migration was never run, which lead to a failed build in the CI.