clean up syntax error messages
use rspec double() instead of deprecated mock()
bundle update (removing x86-mingw32 platform)