All threads / Installation Error with Ruby 2.6.1 on Ubuntu 18.4.1 LTS Server

Ask A Question

Notifications

You’re not receiving notifications from this thread.

Installation Error with Ruby 2.6.1 on Ubuntu 18.4.1 LTS Server

AndreasGothe asked in Servers

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[2]: *** [ruby] Error 1
make[2]: Leaving directory '/tmp/ruby-build.20190211214018.121651/ruby-2.6.1'
exts.mk:82: recipe for target 'ruby' failed
make[1]: *** [ruby] Error 2
make[1]: 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?

Many thanks,
Andreas

Hi I'm having the same issue and would be glad to hear some answer about it to...!

Join the discussion

Want to stay up-to-date with Ruby on Rails?

Join 33,399+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.