Remove unnecessary leftover Rails specific files.
Fix weird leftover Gemfile from Rails bug.
Remove unnecessary auto generated files and ignore them when created.