Upgrade gemspec to rails 4