sets the nv.dev according to Rails.env close #1