Here's a first attempt. It weighs in at 66 bytes.

(n=$*[0].to_i).times{|i|s=((n-1)/2-i).abs
puts " "*s+"#"*(n-2*s)}

Chris Moline