Upgraded / removed gems based on Rails 4 compatbility.