Clear up unused files
Update Gemfile
Improve error reporting