Updated gem dependency for rails 4