Bryan Butler


10 Experience
0 Lessons Completed
0 Questions Solved


Posted in Setup Ubuntu 18.04 Bionic Beaver Discussion

Getting ruby and rails to run on Ubuntu 18.04LTS is certainly not easy.
Background: I'm not a ruby programmer. I'm just trying to get my redmine site up and running again after upgrading to 18.04.

First, I tried installing redmine directly from Ubuntu. That failed miserably. (sorry I don't remember everything that happened. But I believe it had to do with not finding an openssl library that was clearly present). I had hopes this would just install all of the proper dependencies with no errors.

Then, i tried following the instructions on, which suggests not using the packaged install. That didn't work very well either. At one point, I ended up at the same openssl nonsense.

Now, I tried these instructions, and ruby seems to install OK with rbenv (although I don't really like it installing into a hidden directory in my home directory, with no apparent option to select the install directory). But rails falls flat at the nodejs install. I get: "rvm: command not found".
I found rvm in /usr/share/rvm/bin, but adding this to my path in .bashrc doesn't fix it.

I don't remember ruby/rails being this much of a pain under 12.04. Is there an easier way?

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.