adjust rails dependency