Updated gemspec dependencies and installation instructions for Rails 4 compatibility

I've tested this in my current Rails 4 project and all libraries are working well.