Update base.rb

fix pathname error from expecting a string undefined method `[]' for #<Pathname:VERSION>