This article is devoted to studying the initial-boundary value problem for an ideal polytropic model of non-viscous and compressible gas. We focus our attention on the outflow problem when the flow velocity on the boundary is negative and give a rigorous proof of the asymptotic stability of both the degenerate boundary layer and its superposition with the 3-rarefaction wave under some smallness conditions. New weighted energy estimates are introduced, and the trace of the density and velocity on the boundary are handled by some subtle analysis. The decay properties of the boundary layer and the smooth rarefaction wave also play an important role.