rbenv install 2.6.0 and
gem update --system, I have proceeded with
bundle install, but the process gets interrupted because of problems with various gems.
An error occurred while installing cld3 (3.2.3), and Bundler cannot continue. Make sure that `gem install cld3 -v '3.2.3' --source 'https://rubygems.org/'` succeeds before bundling.
The command requested is successful, then I run
bundle install again, that gem has no problems but then the process gets stuck in another gem. After repeating the process 3 more times, now I am stuck with
unf_ext. Even if the direct installation works, I cannot get past this point with
Fetching unf_ext 0.0.7.5 Installing unf_ext 0.0.7.5 with native extensions Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /home/mastodon/live/vendor/bundle/ruby/2.6.0/gems/unf_ext-0.0.7.5/ext/unf_ext /home/mastodon/.rbenv/versions/2.6.0/bin/ruby -I /home/mastodon/.rbenv/versions/2.6.0/lib/ruby/site_ruby/2.6.0 -r ./siteconf20190126-7434-5g1185.rb extconf.rb checking for -lstdc++... yes creating Makefile current directory: /home/mastodon/live/vendor/bundle/ruby/2.6.0/gems/unf_ext-0.0.7.5/ext/unf_ext make "DESTDIR=" clean current directory: /home/mastodon/live/vendor/bundle/ruby/2.6.0/gems/unf_ext-0.0.7.5/ext/unf_ext make "DESTDIR=" compiling unf.cc cc1plus: warning: command line option ‘-Wdeclaration-after-statement’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wimplicit-function-declaration’ is valid for C/ObjC but not for C++ cc1plus: warning: command line option ‘-Wimplicit-int’ is valid for C/ObjC but not for C++ virtual memory exhausted: Cannot allocate memory Makefile:211: recipe for target 'unf.o' failed make: *** [unf.o] Error 1 make failed, exit code 2 Gem files will remain installed in /home/mastodon/live/vendor/bundle/ruby/2.6.0/gems/unf_ext-0.0.7.5 for inspection. Results logged to /home/mastodon/live/vendor/bundle/ruby/2.6.0/extensions/x86_64-linux/2.6.0-static/unf_ext-0.0.7.5/gem_make.out An error occurred while installing unf_ext (0.0.7.5), and Bundler cannot continue. Make sure that `gem install unf_ext -v '0.0.7.5' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: goldfinger was resolved to 2.1.0, which depends on http was resolved to 3.3.0, which depends on http-cookie was resolved to 1.0.3, which depends on domain_name was resolved to 0.5.20180417, which depends on unf was resolved to 0.1.4, which depends on unf_ext mastodon@mastodon:~/live$ gem install unf_ext -v '0.0.7.5' --source 'https://rubygems.org/' Building native extensions. This could take a while... Successfully installed unf_ext-0.0.7.5 Parsing documentation for unf_ext-0.0.7.5 Done installing documentation for unf_ext after 1 seconds 1 gem installed