Make compatible to run with Rail 4.0

Just loosened up the dependencies a bit to make this run with Rails 4.0