Updated dependency restrictions

Updated dependency restrictions to work with Rails 4.1.1