Update gemfile to m atch rails 4.0.1 defaults
Fix math rules