Skip to main content

Setup Ubuntu 18.04 Bionic Beaver Discussion

General • Asked by Chris Oliver

nice guide... i tried it with sucess on ubuntu 18 !

DISTRIB_DESCRIPTION="Ubuntu Bionic Beaver (development branch)"

rbenv version
2.5.0 (set by /home/marcelo/.rbenv/version)

git --version
git version 2.15.1

ruby -v
ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-linux]

rails -v
Rails 5.1.4

psql --version
psql (PostgreSQL) 9.5.10

Worked for me on Ubuntu 18.04

i am using ubuntu 18.04 too, mine is stuck at :
gpg --keyserver hkp:// --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB

error messages :
gpg: connecting dirmngr at '/run/user/1000/gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr

how should i do to fix this ?

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?

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 20,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.