Changed gemspec to include rails 4

works fine.