update gemspec to rails4