Added gem dependencies for Rails 4