Deployment with git post-receive hook; bundle install fails with "[FATAL] failed to allocate memory"

I have a Jekyll site that works locally on my machine.

I have configured it to deploy with git using the git post-receive hook, following the directions in https://jekyllrb.com/docs/deployment/automated/. Deploying to a testbed server I have running in Linux container works fine, although I did have to manually uninstall and reinstall some ruby gems to get it to work.

Now I am trying to get this working on a commercial virtual webhost.

When I try to run bundle install, I get this error, both from my post-receive script output, and when I run it from the command line on the webhost:

(uiserver):u102643267:~/tmp/myrepo$ bundle install --verbose
Running `bundle install --verbose` with bundler 2.1.4
Found no changes, using resolution from the lockfile
The definition is missing ["i18n-1.8.8", "jekyll-archives-2.2.1", "jekyll-feed-0.15.1", "jekyll-numbered-headings-0.
1.1", "jekyll-seo-tag-2.7.1", "jekyll-sitemap-1.4.0", "mini_portile2-2.5.0", "racc-1.5.2", "nokogiri-1.11.1", "jekyl
l-toc-0.17.0"]
HTTP GET https://index.rubygems.org/versions
HTTP 206 Partial Content https://index.rubygems.org/versions
Fetching gem metadata from https://rubygems.org/
Looking up gems ["public_suffix", "addressable", "colorator", "concurrent-ruby", "eventmachine", "http_parser.rb", "
em-websocket", "ffi", "forwardable-extended", "i18n", "sassc", "jekyll-sass-converter", "jekyll-watch", "rexml", "kr
amdown", "kramdown-parser-gfm", "liquid", "mercenary", "pathutil", "rouge", "safe_yaml", "unicode-display_width", "t
erminal-table", "jekyll", "jekyll-archives", "jekyll-feed", "jekyll-numbered-headings", "jekyll-seo-tag", "jekyll-si
temap", "mini_portile2", "racc", "nokogiri", "jekyll-toc", "rb-fsevent", "rb-inotify", "listen"]
HTTP GET https://index.rubygems.org/info/em-websocket
HTTP GET https://index.rubygems.org/info/eventmachine
HTTP GET https://index.rubygems.org/info/mercenary
HTTP GET https://index.rubygems.org/info/ffi
HTTP GET https://index.rubygems.org/info/jekyll-sass-converter
HTTP GET https://index.rubygems.org/info/kramdown-parser-gfm
HTTP GET https://index.rubygems.org/info/concurrent-ruby
HTTP GET https://index.rubygems.org/info/public_suffix
HTTP GET https://index.rubygems.org/info/pathutil
HTTP GET https://index.rubygems.org/info/forwardable-extended
HTTP GET https://index.rubygems.org/info/rouge
HTTP GET https://index.rubygems.org/info/i18n
[FATAL] failed to allocate memory

So I tried changing the source from https to http://rubygems.org, since some people have reported problems with SSL certificates. This time, running bundle install gives different output:

(uiserver):u294701:~/tmp/myrepo$ bundle install --verbose
Running `bundle install --verbose` with bundler 2.1.4
Found changes from the lockfile, re-resolving dependencies because the list of sources changed
HTTP GET http://index.rubygems.org/versions
HTTP 206 Partial Content http://index.rubygems.org/versions
Fetching gem metadata from http://rubygems.org/
Looking up gems ["jekyll", "listen", "jekyll-sitemap", "jekyll-feed", "jekyll-seo-tag", "jekyll-watch", "jekyll-archives", "jekyll-numbered-headings", "jekyll-toc"]
Looking up gems ["rb-fchange", "rb-fsevent", "rb-inotify", "rb-kqueue", "celluloid", "celluloid-io", "ruby_dep", "nokogiri", "addressable", "classifier", "directory_watcher", "liquid", "maruku", "open4", "RedCloth", "rdiscount", "albino", "kramdown", "pygments.rb", "commander", "safe_yaml", "colorator", "redcarpet", "toml", "jekyll-coffeescript", "mercenary", "sass", "jekyll-sass-converter", "jekyll-gist", "jekyll-paginate", "classifier-reborn", "rouge", "pathutil", "em-websocket", "i18n", "kramdown-parser-gfm", "terminal-table"]
HTTP GET http://index.rubygems.org/info/rb-fsevent
HTTP GET http://index.rubygems.org/info/rb-inotify
HTTP GET http://index.rubygems.org/info/redcarpet
HTTP GET http://index.rubygems.org/info/jekyll-coffeescript
HTTP GET http://index.rubygems.org/info/rb-fchange
HTTP GET http://index.rubygems.org/info/pygments.rb
HTTP GET http://index.rubygems.org/info/addressable
HTTP GET http://index.rubygems.org/info/commander
HTTP GET http://index.rubygems.org/info/open4
HTTP GET http://index.rubygems.org/info/celluloid
HTTP 301 Moved Permanently http://index.rubygems.org/info/rb-fsevent
HTTP GET https://index.rubygems.org/info/rb-fsevent
HTTP GET http://index.rubygems.org/info/directory_watcher
HTTP GET http://index.rubygems.org/info/maruku
HTTP GET http://index.rubygems.org/info/liquid
HTTP GET http://index.rubygems.org/info/safe_yaml
HTTP GET http://index.rubygems.org/info/celluloid-io
HTTP GET http://index.rubygems.org/info/kramdown
SocketError: Failed to open TCP connection to index.rubygems.org:80 (getaddrinfo: Temporary failure in name resolution)
/usr/lib/ruby/2.5.0/net/http.rb:939:in `rescue in block in connect'
  /usr/lib/ruby/2.5.0/net/http.rb:936:in `block in connect'
  /usr/lib/ruby/2.5.0/timeout.rb:93:in `block in timeout'
  /usr/lib/ruby/2.5.0/timeout.rb:103:in `timeout'
  /usr/lib/ruby/2.5.0/net/http.rb:935:in `connect'
  /usr/lib/ruby/2.5.0/net/http.rb:920:in `do_start'
  /usr/lib/ruby/2.5.0/net/http.rb:915:in `start'
  /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:719:in `start'
  /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb:648:in `connection_for'
/homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/compact_index_client.rb:71:in `block in dependencies' /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/fetcher/compact_index.rb:97:in `block (2 levels) in parallel_compact_index_client' /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/worker.rb:62:in `apply_func' /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/worker.rb:57:in `block in process_queue' /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/worker.rb:54:in `loop' /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/worker.rb:54:in `process_queue' /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/worker.rb:88:in `block (2 levels) in create_threads' HTTP GET http://index.rubygems.org/info/classifier HTTP GET http://index.rubygems.org/info/albino HTTP GET http://index.rubygems.org/info/toml HTTP GET http://index.rubygems.org/info/RedCloth HTTP GET http://index.rubygems.org/info/rdiscount HTTP GET http://index.rubygems.org/info/colorator HTTP GET http://index.rubygems.org/info/rb-kqueue HTTP GET http://index.rubygems.org/info/ruby_dep HTTP 301 Moved Permanently http://index.rubygems.org/info/rb-inotify HTTP GET https://index.rubygems.org/info/rb-inotify HTTP 301 Moved Permanently http://index.rubygems.org/info/rb-fchange HTTP GET https://index.rubygems.org/info/rb-fchange HTTP GET http://index.rubygems.org/info/nokogiri HTTP 301 Moved Permanently http://index.rubygems.org/info/kramdown HTTP GET https://index.rubygems.org/info/kramdown Bundler::HTTPError: Network error while fetching http://index.rubygems.org/info/celluloid-io (Failed to open TCP connection to index.rubygems.org:80 (getaddrinfo: Temporary failure in name resolution)) /homepages/5/d1010110/htdocs/gems/gems/bundler-2.1.4/lib/bundler/fetcher/downloader.rb:72:in `rescue in request' Query List: ["jekyll", "listen", "jekyll-sitemap", "jekyll-feed", "jekyll-seo-tag", "jekyll-watch", "jekyll-archives", "jekyll-numbered-headings", "jekyll-toc"] Query Gemcutter Dependency Endpoint API: jekyll,listen,jekyll-sitemap,jekyll-feed,jekyll-seo-tag,jekyll-watch,jekyll-archives,jekyll-numbered-headings,jekyll-toc HTTP GET http://index.rubygems.org/api/v1/dependencies?gems=jekyll%2Cjekyll-archives%2Cjekyll-feed%2Cjekyll-numbered-headings%2Cjekyll-seo-tag%2Cjekyll-sitemap%2Cjekyll-toc%2Cjekyll-watch%2Clisten HTTP 301 Moved Permanently http://index.rubygems.org/info/addressable HTTP GET https://index.rubygems.org/info/addressable HTTP 301 Moved Permanently http://index.rubygems.org/info/open4 HTTP GET https://index.rubygems.org/info/open4 HTTP 200 OK https://index.rubygems.org/info/rb-fsevent HTTP 301 Moved Permanently http://index.rubygems.org/info/rb-kqueue HTTP GET https://index.rubygems.org/info/rb-kqueue HTTP 301 Moved Permanently http://index.rubygems.org/info/colorator HTTP GET https://index.rubygems.org/info/colorator HTTP GET http://index.rubygems.org/info/mercenary HTTP 200 OK https://index.rubygems.org/info/kramdown HTTP 301 Moved Permanently http://index.rubygems.org/info/safe_yaml HTTP GET https://index.rubygems.org/info/safe_yaml HTTP 301 Moved Permanently http://index.rubygems.org/info/celluloid HTTP GET https://index.rubygems.org/info/celluloid HTTP 301 Moved Permanently http://index.rubygems.org/info/ruby_dep HTTP GET https://index.rubygems.org/info/ruby_dep HTTP 200 OK https://index.rubygems.org/info/safe_yaml HTTP 200 OK https://index.rubygems.org/info/rb-inotify HTTP 301 Moved Permanently http://index.rubygems.org/info/toml HTTP GET https://index.rubygems.org/info/toml HTTP 200 OK https://index.rubygems.org/info/open4 HTTP 301 Moved Permanently http://index.rubygems.org/info/RedCloth HTTP GET https://index.rubygems.org/info/RedCloth HTTP 200 OK https://index.rubygems.org/info/addressable HTTP 200 OK https://index.rubygems.org/info/rb-kqueue HTTP 200 OK https://index.rubygems.org/info/ruby_dep HTTP 200 OK https://index.rubygems.org/info/toml HTTP 301 Moved Permanently http://index.rubygems.org/info/liquid HTTP GET https://index.rubygems.org/info/liquid HTTP GET http://index.rubygems.org/info/jekyll-sass-converter HTTP 301 Moved Permanently http://index.rubygems.org/info/jekyll-coffeescript HTTP GET https://index.rubygems.org/info/jekyll-coffeescript HTTP 301 Moved Permanently http://index.rubygems.org/info/redcarpet HTTP GET https://index.rubygems.org/info/redcarpet HTTP 200 OK https://index.rubygems.org/info/celluloid HTTP 301 Moved Permanently http://index.rubygems.org/info/nokogiri HTTP GET https://index.rubygems.org/info/nokogiri HTTP GET http://index.rubygems.org/info/sass HTTP GET http://index.rubygems.org/info/rouge HTTP GET http://index.rubygems.org/info/jekyll-gist HTTP 200 OK https://index.rubygems.org/info/nokogiri HTTP 301 Moved Permanently http://index.rubygems.org/info/sass HTTP GET https://index.rubygems.org/info/sass HTTP 301 Moved Permanently http://index.rubygems.org/info/directory_watcher HTTP GET https://index.rubygems.org/info/directory_watcher HTTP 301 Moved Permanently http://index.rubygems.org/info/pygments.rb HTTP GET https://index.rubygems.org/info/pygments.rb HTTP GET http://index.rubygems.org/info/em-websocket HTTP 200 OK https://index.rubygems.org/info/RedCloth HTTP 200 OK https://index.rubygems.org/info/redcarpet HTTP 200 OK https://index.rubygems.org/info/rb-fchange HTTP 200 OK https://index.rubygems.org/info/jekyll-coffeescript HTTP 200 OK https://index.rubygems.org/info/colorator HTTP GET http://index.rubygems.org/info/jekyll-paginate HTTP 301 Moved Permanently http://index.rubygems.org/info/commander HTTP GET https://index.rubygems.org/info/commander HTTP GET http://index.rubygems.org/info/i18n HTTP 200 OK https://index.rubygems.org/info/liquid HTTP GET http://index.rubygems.org/info/classifier-reborn HTTP 200 OK https://index.rubygems.org/info/sass HTTP 200 OK https://index.rubygems.org/info/directory_watcher HTTP 301 Moved Permanently http://index.rubygems.org/info/maruku HTTP GET https://index.rubygems.org/info/maruku HTTP 301 Moved Permanently http://index.rubygems.org/info/albino HTTP GET https://index.rubygems.org/info/albino HTTP 301 Moved Permanently http://index.rubygems.org/api/v1/dependencies?gems=jekyll%2Cjekyll-archives%2Cjekyll-feed%2Cjekyll-numbered-headings%2Cjekyll-seo-tag%2Cjekyll-sitemap%2Cjekyll-toc%2Cjekyll-watch%2Clisten HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=jekyll%2Cjekyll-archives%2Cjekyll-feed%2Cjekyll-numbered-headings%2Cjekyll-seo-tag%2Cjekyll-sitemap%2Cjekyll-toc%2Cjekyll-watch%2Clisten HTTP GET http://index.rubygems.org/info/pathutil HTTP GET http://index.rubygems.org/info/kramdown-parser-gfm HTTP 301 Moved Permanently http://index.rubygems.org/info/rouge HTTP GET https://index.rubygems.org/info/rouge HTTP 301 Moved Permanently http://index.rubygems.org/info/jekyll-gist HTTP GET https://index.rubygems.org/info/jekyll-gist HTTP 301 Moved Permanently http://index.rubygems.org/info/i18n HTTP GET https://index.rubygems.org/info/i18n HTTP 301 Moved Permanently http://index.rubygems.org/info/classifier HTTP GET https://index.rubygems.org/info/classifier HTTP 301 Moved Permanently http://index.rubygems.org/info/mercenary HTTP 301 Moved Permanently http://index.rubygems.org/info/classifier-reborn HTTP GET https://index.rubygems.org/info/classifier-reborn HTTP 301 Moved Permanently http://index.rubygems.org/info/em-websocket HTTP GET https://index.rubygems.org/info/em-websocket HTTP 301 Moved Permanently http://index.rubygems.org/info/kramdown-parser-gfm HTTP GET https://index.rubygems.org/info/kramdown-parser-gfm HTTP 301 Moved Permanently http://index.rubygems.org/info/rdiscount HTTP GET https://index.rubygems.org/info/rdiscount HTTP 200 OK https://index.rubygems.org/info/rouge HTTP 200 OK https://index.rubygems.org/info/jekyll-gist HTTP 200 OK https://index.rubygems.org/info/classifier HTTP 301 Moved Permanently http://index.rubygems.org/info/jekyll-paginate HTTP GET https://index.rubygems.org/info/jekyll-paginate HTTP 200 OK https://index.rubygems.org/info/maruku HTTP 200 OK https://index.rubygems.org/info/pygments.rb HTTP GET http://index.rubygems.org/info/terminal-table HTTP 200 OK https://index.rubygems.org/info/commander HTTP 200 OK https://index.rubygems.org/info/i18n HTTP 200 OK https://index.rubygems.org/info/albino HTTP 200 OK https://index.rubygems.org/info/em-websocket HTTP 301 Moved Permanently http://index.rubygems.org/info/terminal-table HTTP GET https://index.rubygems.org/info/terminal-table HTTP 200 OK https://index.rubygems.org/info/kramdown-parser-gfm HTTP 200 OK https://index.rubygems.org/info/rdiscount HTTP 200 OK https://index.rubygems.org/info/terminal-table HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=jekyll%2Cjekyll-archives%2Cjekyll-feed%2Cjekyll-numbered-headings%2Cjekyll-seo-tag%2Cjekyll-sitemap%2Cjekyll-toc%2Cjekyll-watch%2Clisten Query List: ["terminal-table", "safe_yaml", "rouge", "pathutil", "mercenary", "liquid", "kramdown-parser-gfm", "kramdown", "jekyll-sass-converter", "i18n", "em-websocket", "colorator", "addressable", "classifier", "maruku", "pygments.rb", "commander", "redcarpet", "RedCloth", "rdiscount", "directory_watcher", "open4", "toml", "jekyll-paginate", "jekyll-gist", "jekyll-coffeescript", "classifier-reborn", "sass", "albino", "nokogiri", "rb-fsevent", "rb-inotify", "rb-kqueue", "rb-fchange", "celluloid", "celluloid-io", "ruby_dep"] Query Gemcutter Dependency Endpoint API: terminal-table,safe_yaml,rouge,pathutil,mercenary,liquid,kramdown-parser-gfm,kramdown,jekyll-sass-converter,i18n,em-websocket,colorator,addressable,classifier,maruku,pygments.rb,commander,redcarpet,RedCloth,rdiscount,directory_watcher,open4,toml,jekyll-paginate,jekyll-gist,jekyll-coffeescript,classifier-reborn,sass,albino,nokogiri,rb-fsevent,rb-inotify,rb-kqueue,rb-fchange,celluloid,celluloid-io,ruby_dep HTTP 200 OK https://index.rubygems.org/info/jekyll-paginate HTTP 200 OK https://index.rubygems.org/info/classifier-reborn HTTP 301 Moved Permanently http://index.rubygems.org/info/pathutil HTTP GET https://index.rubygems.org/info/pathutil HTTP GET http://index.rubygems.org/api/v1/dependencies?gems=RedCloth%2Caddressable%2Calbino%2Ccelluloid%2Ccelluloid-io%2Cclassifier%2Cclassifier-reborn%2Ccolorator%2Ccommander%2Cdirectory_watcher%2Cem-websocket%2Ci18n%2Cjekyll-coffeescript%2Cjekyll-gist%2Cjekyll-paginate%2Cjekyll-sass-converter%2Ckramdown%2Ckramdown-parser-gfm%2Cliquid%2Cmaruku%2Cmercenary%2Cnokogiri%2Copen4%2Cpathutil%2Cpygments.rb%2Crb-fchange%2Crb-fsevent%2Crb-inotify%2Crb-kqueue%2Crdiscount%2Credcarpet%2Crouge%2Cruby_dep%2Csafe_yaml%2Csass%2Cterminal-table%2Ctoml HTTP 200 OK https://index.rubygems.org/info/pathutil HTTP 301 Moved Permanently http://index.rubygems.org/api/v1/dependencies?gems=RedCloth%2Caddressable%2Calbino%2Ccelluloid%2Ccelluloid-io%2Cclassifier%2Cclassifier-reborn%2Ccolorator%2Ccommander%2Cdirectory_watcher%2Cem-websocket%2Ci18n%2Cjekyll-coffeescript%2Cjekyll-gist%2Cjekyll-paginate%2Cjekyll-sass-converter%2Ckramdown%2Ckramdown-parser-gfm%2Cliquid%2Cmaruku%2Cmercenary%2Cnokogiri%2Copen4%2Cpathutil%2Cpygments.rb%2Crb-fchange%2Crb-fsevent%2Crb-inotify%2Crb-kqueue%2Crdiscount%2Credcarpet%2Crouge%2Cruby_dep%2Csafe_yaml%2Csass%2Cterminal-table%2Ctoml HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=RedCloth%2Caddressable%2Calbino%2Ccelluloid%2Ccelluloid-io%2Cclassifier%2Cclassifier-reborn%2Ccolorator%2Ccommander%2Cdirectory_watcher%2Cem-websocket%2Ci18n%2Cjekyll-coffeescript%2Cjekyll-gist%2Cjekyll-paginate%2Cjekyll-sass-converter%2Ckramdown%2Ckramdown-parser-gfm%2Cliquid%2Cmaruku%2Cmercenary%2Cnokogiri%2Copen4%2Cpathutil%2Cpygments.rb%2Crb-fchange%2Crb-fsevent%2Crb-inotify%2Crb-kqueue%2Crdiscount%2Credcarpet%2Crouge%2Cruby_dep%2Csafe_yaml%2Csass%2Cterminal-table%2Ctoml HTTP 301 Moved Permanently http://index.rubygems.org/info/jekyll-sass-converter HTTP GET https://index.rubygems.org/info/jekyll-sass-converter HTTP 200 OK https://index.rubygems.org/info/jekyll-sass-converter HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=RedCloth%2Caddressable%2Calbino%2Ccelluloid%2Ccelluloid-io%2Cclassifier%2Cclassifier-reborn%2Ccolorator%2Ccommander%2Cdirectory_watcher%2Cem-websocket%2Ci18n%2Cjekyll-coffeescript%2Cjekyll-gist%2Cjekyll-paginate%2Cjekyll-sass-converter%2Ckramdown%2Ckramdown-parser-gfm%2Cliquid%2Cmaruku%2Cmercenary%2Cnokogiri%2Copen4%2Cpathutil%2Cpygments.rb%2Crb-fchange%2Crb-fsevent%2Crb-inotify%2Crb-kqueue%2Crdiscount%2Credcarpet%2Crouge%2Cruby_dep%2Csafe_yaml%2Csass%2Cterminal-table%2Ctoml Query List: ["public_suffix", "rake", "rspec", "posix-spawn", "timers", "bundler", "nenv", "dotenv", "celluloid-essentials", "celluloid-supervision", "celluloid-pool", "celluloid-fsm", "celluloid-extras", "rspec-logsplit", "facter", "nio4r", "fast-stemmer", "stemmer", "mathn", "highline", "hoe", "eventmachine", "http_parser.rb", "concurrent-ruby", "coffee-script", "coffee-script-source", "octokit", "sassc", "rexml", "syntax", "mini_portile2", "mini_portile", "weakling", "racc", "pkg-config", "forwardable-extended", "yajl-ruby", "multi_json", "rubypython", "ffi", "win32-api", "thor", "psych", "sass-listen", "unicode-display_width", "parslet"] Query Gemcutter Dependency Endpoint API: public_suffix,rake,rspec,posix-spawn,timers,bundler,nenv,dotenv,celluloid-essentials,celluloid-supervision,celluloid-pool,celluloid-fsm,celluloid-extras,rspec-logsplit,facter,nio4r,fast-stemmer,stemmer,mathn,highline,hoe,eventmachine,http_parser.rb,concurrent-ruby,coffee-script,coffee-script-source,octokit,sassc,rexml,syntax,mini_portile2,mini_portile,weakling,racc,pkg-config,forwardable-extended,yajl-ruby,multi_json,rubypython,ffi,win32-api,thor,psych,sass-listen,unicode-display_width,parslet HTTP GET http://index.rubygems.org/api/v1/dependencies?gems=bundler%2Ccelluloid-essentials%2Ccelluloid-extras%2Ccelluloid-fsm%2Ccelluloid-pool%2Ccelluloid-supervision%2Ccoffee-script%2Ccoffee-script-source%2Cconcurrent-ruby%2Cdotenv%2Ceventmachine%2Cfacter%2Cfast-stemmer%2Cffi%2Cforwardable-extended%2Chighline%2Choe%2Chttp_parser.rb%2Cmathn%2Cmini_portile%2Cmini_portile2%2Cmulti_json%2Cnenv%2Cnio4r%2Coctokit%2Cparslet%2Cpkg-config%2Cposix-spawn%2Cpsych%2Cpublic_suffix%2Cracc%2Crake%2Crexml%2Crspec%2Crspec-logsplit%2Crubypython%2Csass-listen%2Csassc%2Cstemmer%2Csyntax%2Cthor%2Ctimers%2Cunicode-display_width%2Cweakling%2Cwin32-api%2Cyajl-ruby HTTP 301 Moved Permanently http://index.rubygems.org/api/v1/dependencies?gems=bundler%2Ccelluloid-essentials%2Ccelluloid-extras%2Ccelluloid-fsm%2Ccelluloid-pool%2Ccelluloid-supervision%2Ccoffee-script%2Ccoffee-script-source%2Cconcurrent-ruby%2Cdotenv%2Ceventmachine%2Cfacter%2Cfast-stemmer%2Cffi%2Cforwardable-extended%2Chighline%2Choe%2Chttp_parser.rb%2Cmathn%2Cmini_portile%2Cmini_portile2%2Cmulti_json%2Cnenv%2Cnio4r%2Coctokit%2Cparslet%2Cpkg-config%2Cposix-spawn%2Cpsych%2Cpublic_suffix%2Cracc%2Crake%2Crexml%2Crspec%2Crspec-logsplit%2Crubypython%2Csass-listen%2Csassc%2Cstemmer%2Csyntax%2Cthor%2Ctimers%2Cunicode-display_width%2Cweakling%2Cwin32-api%2Cyajl-ruby HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=bundler%2Ccelluloid-essentials%2Ccelluloid-extras%2Ccelluloid-fsm%2Ccelluloid-pool%2Ccelluloid-supervision%2Ccoffee-script%2Ccoffee-script-source%2Cconcurrent-ruby%2Cdotenv%2Ceventmachine%2Cfacter%2Cfast-stemmer%2Cffi%2Cforwardable-extended%2Chighline%2Choe%2Chttp_parser.rb%2Cmathn%2Cmini_portile%2Cmini_portile2%2Cmulti_json%2Cnenv%2Cnio4r%2Coctokit%2Cparslet%2Cpkg-config%2Cposix-spawn%2Cpsych%2Cpublic_suffix%2Cracc%2Crake%2Crexml%2Crspec%2Crspec-logsplit%2Crubypython%2Csass-listen%2Csassc%2Cstemmer%2Csyntax%2Cthor%2Ctimers%2Cunicode-display_width%2Cweakling%2Cwin32-api%2Cyajl-ruby HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=bundler%2Ccelluloid-essentials%2Ccelluloid-extras%2Ccelluloid-fsm%2Ccelluloid-pool%2Ccelluloid-supervision%2Ccoffee-script%2Ccoffee-script-source%2Cconcurrent-ruby%2Cdotenv%2Ceventmachine%2Cfacter%2Cfast-stemmer%2Cffi%2Cforwardable-extended%2Chighline%2Choe%2Chttp_parser.rb%2Cmathn%2Cmini_portile%2Cmini_portile2%2Cmulti_json%2Cnenv%2Cnio4r%2Coctokit%2Cparslet%2Cpkg-config%2Cposix-spawn%2Cpsych%2Cpublic_suffix%2Cracc%2Crake%2Crexml%2Crspec%2Crspec-logsplit%2Crubypython%2Csass-listen%2Csassc%2Cstemmer%2Csyntax%2Cthor%2Ctimers%2Cunicode-display_width%2Cweakling%2Cwin32-api%2Cyajl-ruby Query List: ["rubocop", "coveralls", "celluloid-gems", "execjs", "ref", "functional-ruby", "dotenv-deployment", "CFPropertyList", "win32-dir", "win32-security", "win32console", "hocon", "sys-admin", "windows-api", "windows-pr", "termios", "rubyforge", "gemcutter", "RubyInline", "sawyer", "faraday", "faraday_middleware", "hashie", "netrc", "multi_xml", "rash", "json", "blankslate", "jar-dependencies", "rspec-core", "rspec-expectations", "rspec-mocks", "hitimes", "test-unit"] Query Gemcutter Dependency Endpoint API: rubocop,coveralls,celluloid-gems,execjs,ref,functional-ruby,dotenv-deployment,CFPropertyList,win32-dir,win32-security,win32console,hocon,sys-admin,windows-api,windows-pr,termios,rubyforge,gemcutter,RubyInline,sawyer,faraday,faraday_middleware,hashie,netrc,multi_xml,rash,json,blankslate,jar-dependencies,rspec-core,rspec-expectations,rspec-mocks,hitimes,test-unit HTTP GET http://index.rubygems.org/api/v1/dependencies?gems=CFPropertyList%2CRubyInline%2Cblankslate%2Ccelluloid-gems%2Ccoveralls%2Cdotenv-deployment%2Cexecjs%2Cfaraday%2Cfaraday_middleware%2Cfunctional-ruby%2Cgemcutter%2Chashie%2Chitimes%2Chocon%2Cjar-dependencies%2Cjson%2Cmulti_xml%2Cnetrc%2Crash%2Cref%2Crspec-core%2Crspec-expectations%2Crspec-mocks%2Crubocop%2Crubyforge%2Csawyer%2Csys-admin%2Ctermios%2Ctest-unit%2Cwin32-dir%2Cwin32-security%2Cwin32console%2Cwindows-api%2Cwindows-pr HTTP 301 Moved Permanently http://index.rubygems.org/api/v1/dependencies?gems=CFPropertyList%2CRubyInline%2Cblankslate%2Ccelluloid-gems%2Ccoveralls%2Cdotenv-deployment%2Cexecjs%2Cfaraday%2Cfaraday_middleware%2Cfunctional-ruby%2Cgemcutter%2Chashie%2Chitimes%2Chocon%2Cjar-dependencies%2Cjson%2Cmulti_xml%2Cnetrc%2Crash%2Cref%2Crspec-core%2Crspec-expectations%2Crspec-mocks%2Crubocop%2Crubyforge%2Csawyer%2Csys-admin%2Ctermios%2Ctest-unit%2Cwin32-dir%2Cwin32-security%2Cwin32console%2Cwindows-api%2Cwindows-pr HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=CFPropertyList%2CRubyInline%2Cblankslate%2Ccelluloid-gems%2Ccoveralls%2Cdotenv-deployment%2Cexecjs%2Cfaraday%2Cfaraday_middleware%2Cfunctional-ruby%2Cgemcutter%2Chashie%2Chitimes%2Chocon%2Cjar-dependencies%2Cjson%2Cmulti_xml%2Cnetrc%2Crash%2Cref%2Crspec-core%2Crspec-expectations%2Crspec-mocks%2Crubocop%2Crubyforge%2Csawyer%2Csys-admin%2Ctermios%2Ctest-unit%2Cwin32-dir%2Cwin32-security%2Cwin32console%2Cwindows-api%2Cwindows-pr HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=CFPropertyList%2CRubyInline%2Cblankslate%2Ccelluloid-gems%2Ccoveralls%2Cdotenv-deployment%2Cexecjs%2Cfaraday%2Cfaraday_middleware%2Cfunctional-ruby%2Cgemcutter%2Chashie%2Chitimes%2Chocon%2Cjar-dependencies%2Cjson%2Cmulti_xml%2Cnetrc%2Crash%2Cref%2Crspec-core%2Crspec-expectations%2Crspec-mocks%2Crubocop%2Crubyforge%2Csawyer%2Csys-admin%2Ctermios%2Ctest-unit%2Cwin32-dir%2Cwin32-security%2Cwin32console%2Cwindows-api%2Cwindows-pr Query List: ["libxml-ruby", "ZenTest", "term-ansicolor", "tins", "simplecov", "rest-client", "colorize", "multipart-post", "rack", "ruby2_keywords", "faraday-net_http", "oauth2", "roauth", "json_pure", "net-scp", "configuration", "mkrf", "ruby-maven", "rspec-support", "diff-lcs", "rainbow", "parser", "powerpack", "astrolabe", "ruby-progressbar", "jaro_winkler", "parallel", "rubocop-ast", "regexp_parser", "backports", "uri_template", "power_assert", "ffi-win32-extensions"] Query Gemcutter Dependency Endpoint API: libxml-ruby,ZenTest,term-ansicolor,tins,simplecov,rest-client,colorize,multipart-post,rack,ruby2_keywords,faraday-net_http,oauth2,roauth,json_pure,net-scp,configuration,mkrf,ruby-maven,rspec-support,diff-lcs,rainbow,parser,powerpack,astrolabe,ruby-progressbar,jaro_winkler,parallel,rubocop-ast,regexp_parser,backports,uri_template,power_assert,ffi-win32-extensions HTTP GET http://index.rubygems.org/api/v1/dependencies?gems=ZenTest%2Castrolabe%2Cbackports%2Ccolorize%2Cconfiguration%2Cdiff-lcs%2Cfaraday-net_http%2Cffi-win32-extensions%2Cjaro_winkler%2Cjson_pure%2Clibxml-ruby%2Cmkrf%2Cmultipart-post%2Cnet-scp%2Coauth2%2Cparallel%2Cparser%2Cpower_assert%2Cpowerpack%2Crack%2Crainbow%2Cregexp_parser%2Crest-client%2Croauth%2Crspec-support%2Crubocop-ast%2Cruby-maven%2Cruby-progressbar%2Cruby2_keywords%2Csimplecov%2Cterm-ansicolor%2Ctins%2Curi_template HTTP 301 Moved Permanently http://index.rubygems.org/api/v1/dependencies?gems=ZenTest%2Castrolabe%2Cbackports%2Ccolorize%2Cconfiguration%2Cdiff-lcs%2Cfaraday-net_http%2Cffi-win32-extensions%2Cjaro_winkler%2Cjson_pure%2Clibxml-ruby%2Cmkrf%2Cmultipart-post%2Cnet-scp%2Coauth2%2Cparallel%2Cparser%2Cpower_assert%2Cpowerpack%2Crack%2Crainbow%2Cregexp_parser%2Crest-client%2Croauth%2Crspec-support%2Crubocop-ast%2Cruby-maven%2Cruby-progressbar%2Cruby2_keywords%2Csimplecov%2Cterm-ansicolor%2Ctins%2Curi_template HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=ZenTest%2Castrolabe%2Cbackports%2Ccolorize%2Cconfiguration%2Cdiff-lcs%2Cfaraday-net_http%2Cffi-win32-extensions%2Cjaro_winkler%2Cjson_pure%2Clibxml-ruby%2Cmkrf%2Cmultipart-post%2Cnet-scp%2Coauth2%2Cparallel%2Cparser%2Cpower_assert%2Cpowerpack%2Crack%2Crainbow%2Cregexp_parser%2Crest-client%2Croauth%2Crspec-support%2Crubocop-ast%2Cruby-maven%2Cruby-progressbar%2Cruby2_keywords%2Csimplecov%2Cterm-ansicolor%2Ctins%2Curi_template HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=ZenTest%2Castrolabe%2Cbackports%2Ccolorize%2Cconfiguration%2Cdiff-lcs%2Cfaraday-net_http%2Cffi-win32-extensions%2Cjaro_winkler%2Cjson_pure%2Clibxml-ruby%2Cmkrf%2Cmultipart-post%2Cnet-scp%2Coauth2%2Cparallel%2Cparser%2Cpower_assert%2Cpowerpack%2Crack%2Crainbow%2Cregexp_parser%2Crest-client%2Croauth%2Crspec-support%2Crubocop-ast%2Cruby-maven%2Cruby-progressbar%2Cruby2_keywords%2Csimplecov%2Cterm-ansicolor%2Ctins%2Curi_template Query List: ["spruz", "net-ssh", "jwt", "httpauth", "faraday-middleware", "ast", "slop", "sexp_processor", "pattern-match", "mime-types", "http-cookie", "http-accept", "rdoc", "strscan", "maven-tools", "ruby-maven-libs", "simplecov-html", "docile", "lockfile", "simplecov_json_formatter", "sync"] Query Gemcutter Dependency Endpoint API: spruz,net-ssh,jwt,httpauth,faraday-middleware,ast,slop,sexp_processor,pattern-match,mime-types,http-cookie,http-accept,rdoc,strscan,maven-tools,ruby-maven-libs,simplecov-html,docile,lockfile,simplecov_json_formatter,sync HTTP GET http://index.rubygems.org/api/v1/dependencies?gems=ast%2Cdocile%2Cfaraday-middleware%2Chttp-accept%2Chttp-cookie%2Chttpauth%2Cjwt%2Clockfile%2Cmaven-tools%2Cmime-types%2Cnet-ssh%2Cpattern-match%2Crdoc%2Cruby-maven-libs%2Csexp_processor%2Csimplecov-html%2Csimplecov_json_formatter%2Cslop%2Cspruz%2Cstrscan%2Csync HTTP 301 Moved Permanently http://index.rubygems.org/api/v1/dependencies?gems=ast%2Cdocile%2Cfaraday-middleware%2Chttp-accept%2Chttp-cookie%2Chttpauth%2Cjwt%2Clockfile%2Cmaven-tools%2Cmime-types%2Cnet-ssh%2Cpattern-match%2Crdoc%2Cruby-maven-libs%2Csexp_processor%2Csimplecov-html%2Csimplecov_json_formatter%2Cslop%2Cspruz%2Cstrscan%2Csync HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=ast%2Cdocile%2Cfaraday-middleware%2Chttp-accept%2Chttp-cookie%2Chttpauth%2Cjwt%2Clockfile%2Cmaven-tools%2Cmime-types%2Cnet-ssh%2Cpattern-match%2Crdoc%2Cruby-maven-libs%2Csexp_processor%2Csimplecov-html%2Csimplecov_json_formatter%2Cslop%2Cspruz%2Cstrscan%2Csync HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=ast%2Cdocile%2Cfaraday-middleware%2Chttp-accept%2Chttp-cookie%2Chttpauth%2Cjwt%2Clockfile%2Cmaven-tools%2Cmime-types%2Cnet-ssh%2Cpattern-match%2Crdoc%2Cruby-maven-libs%2Csexp_processor%2Csimplecov-html%2Csimplecov_json_formatter%2Cslop%2Cspruz%2Cstrscan%2Csync Query List: ["domain_name", "sqlite3", "virtus", "mime-types-data", "needle", "jruby-pageant", "rbnacl-libsodium", "rbnacl", "bcrypt_pbkdf"] Query Gemcutter Dependency Endpoint API: domain_name,sqlite3,virtus,mime-types-data,needle,jruby-pageant,rbnacl-libsodium,rbnacl,bcrypt_pbkdf HTTP GET http://index.rubygems.org/api/v1/dependencies?gems=bcrypt_pbkdf%2Cdomain_name%2Cjruby-pageant%2Cmime-types-data%2Cneedle%2Crbnacl%2Crbnacl-libsodium%2Csqlite3%2Cvirtus HTTP 301 Moved Permanently http://index.rubygems.org/api/v1/dependencies?gems=bcrypt_pbkdf%2Cdomain_name%2Cjruby-pageant%2Cmime-types-data%2Cneedle%2Crbnacl%2Crbnacl-libsodium%2Csqlite3%2Cvirtus HTTP GET https://index.rubygems.org/api/v1/dependencies?gems=bcrypt_pbkdf%2Cdomain_name%2Cjruby-pageant%2Cmime-types-data%2Cneedle%2Crbnacl%2Crbnacl-libsodium%2Csqlite3%2Cvirtus HTTP 200 OK https://index.rubygems.org/api/v1/dependencies?gems=bcrypt_pbkdf%2Cdomain_name%2Cjruby-pageant%2Cmime-types-data%2Cneedle%2Crbnacl%2Crbnacl-libsodium%2Csqlite3%2Cvirtus [FATAL] failed to allocate memory

And a third attempt, this time without any changes on my part, gives different output yet again (I’ve omitted this for space reasons).

There doesn’t seem to be any rhyme nor reason to these errors. (If this were my own machine I would be suspecting a broken library installation or hardware problems!)

The system has oodles of memory:

Where should I start trying to fix this? I didn’t think jekyll needed to be this complicated…