I encountered the below error when I tried to do "heroku db:pull"

    c:/ruby/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in] `union': can't convert Array into String

then I commented the related line in utils.rb

     # ESCAPE_HTML_PATTERN = Regexp.union(ESCAPE_HTML.keys)

and everything worked fine