change detect script to just use sh

[finishes #46635507]
silence nokogiri install and don't install docs