try to set rails_root in unknown env