make command fully work in ruby