Update build.rb

using GitlabCi::Encode.encode to slove #33 related 500 error