IMHO this is better:
```ruby
def ensure_sbin_in_path
  ENV["PATH"] = "/sbin:/usr/sbin:" + ENV["PATH"] unless ENV["PATH"].include?("/sbin")
end
```