Fixed gemspec so it works on Rails > 1.9