fix dependency for rails