fix minor rails 4 warnings & add log/ to gitignore
change Gemfile for win & linux