Update dependancies to more recent

I needed to update these to more recent version to work with Rails 3.2.6, all tests passing with `ruby 1.9.3p194` Also now works with rails version