Updating SmartOS requirements to use autolibs aware check for installation. #1774
Update smartos configure environment to specify 'debugflags'. #1774
Using bash to run configure for non-portable configure code. #1774

Bug in ruby-2.0.0, fixed in https://bugs.ruby-lang.org/projects/ruby-trunk/repository/revisions/39741.
Affects Solaris and SmartOS (and probably BSDs too).