Fixed the rails dependency in the gemspec file