changed gem files to work with rails 4.0, added some files to .gitignore