2017-05-16 51 views
0

我使用FASTLANE爲IOS部署曲棍球和我寫了這個樣子。不兼容的編碼正則表達式匹配(UTF-8正則表達式與ASCII-8BIT字符串)

hockey_ver = String(latest_hockeyapp_version_number(
      api_token: '', 
      app_name: '', 
     )) 

    increment_version_number({ 
     version_number: hockey_ver 
    }) 
    increment_build_number({ 
    build_number: hockey_ver 
    }) 

但我得到這樣的錯誤。我該怎麼辦?

/Users/khantthulinn/.rvm/gems/[email protected]/gems/httparty-0.15.2/lib/httparty/parser.rb:120:in GSUB':[!]不相容編碼的正則表達式匹配(UTF-8與 ASCII-8BIT串的regexp)從 /Users/khantthulinn/.rvm/gems/[email protected]/gems/httparty-0.15.2/(編碼:: CompatibilityError) lib/httparty/parser.rb:120:injson' from /Users/khantthulinn/.rvm/gems/[email protected]/gems/httparty-0.15.2/lib/httparty/parser.rb:140 : parse_supported_format'from /Users/khantthulinn/.rvm/gems/[email protected]/gems/httparty-0.15.2/lib/httparty/parser.rb:105:inparse'from /Users/khantthulinn/.rvm/gems/[email protected]/gems/httparty-0.15.2/lib/httparty/parser.rb:67:in call'from /Users/khantthulinn/.rvm/ gems/[email protected]/gems/httparty-0.15.2/lib/httparty/request.rb:383:inparse_response' from /Users/khantthulinn/.rvm/gems/[email protected] /gems/httparty-0.15.2/lib/httparty/request.rb:351:in block in handle_response'from /Users/khantthulinn/.rvm/gems/[email protected]/gems/httparty-0.15 .2/lib/httparty/response.rb:25:inparsed_response' from /Users/khantthulinn/.rvm/gems/[email protected]/gems/httparty-0.15.2/lib/httparty/response。 rb:88: method_missing'from

回答

相關問題