I encountered following error trying to install Ruby 2.6.1 on a VMWare driven Ubuntu 18.4.1 Server with rbenv:
Installing ruby-2.6.1... BUILD FAILED (Ubuntu 18.04 using ruby-build 20190130-2-g843c8bf) Inspect or clean up the working tree at /tmp/ruby-build.20190211214018.121651 Results logged to /tmp/ruby-build.20190211214018.121651.log Last 10 log lines: linking ruby collect2: error: ld returned 1 exit status Makefile:272: recipe for target 'ruby' failed make: *** [ruby] Error 1 make: Leaving directory '/tmp/ruby-build.20190211214018.121651/ruby-2.6.1' exts.mk:82: recipe for target 'ruby' failed make: *** [ruby] Error 2 make: Leaving directory '/tmp/ruby-build.20190211214018.121651/ruby-2.6.1' uncommon.mk:286: recipe for target 'build-ext' failed make: *** [build-ext] Error 2
Does anyone know a solution for this?
Hi I'm having the same issue and would be glad to hear some answer about it to...!
Join 22,346+ developers who get early access to new screencasts, articles, guides, updates, and more.