We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29f590f commit 5487acbCopy full SHA for 5487acb
lib/i18n_data/live_data_provider.rb
@@ -39,8 +39,11 @@ def clear_cache
39
40
def ensure_checkout
41
unless File.exist?(CLONE_DEST)
42
- `git clone #{REPO} #{CLONE_DEST}`
43
- raise unless $?.success?
+ # need to clone with http1 or get:
+ # error: RPC failed; curl 16 Error in the HTTP2 framing layer
44
+ command = "git clone -c http.version=HTTP/1.1 #{REPO} #{CLONE_DEST}"
45
+ out = `#{command}`
46
+ raise "Command #{command.inspect} failed:\n#{out}" unless $?.success?
47
end
48
49
0 commit comments