Fix gem dependecies to make it compatible with rails 4.0
Merge pull request #13 from conf/rails-4

Fix gem dependecies to make it compatible with rails 4.0