rails dependency changed to 4