Relaxes dependencies for Rails4