banner



How To Install Ruby In Ubuntu 14.04

2 Answers 2

I did this by calculation the saucy (thirteen.10) repositories dorsum to my sources.list file.

  1. sudo -H gedit /etc/apt/sources.list
  2. Add deb http://gb.archive.ubuntu.com/ubuntu/ saucy principal restricted later the first prepare.
  3. Salvage the file and exit the editor.
  4. sudo apt-get update
  5. sudo apt-get install ruby1.8
  6. sudo apt-become install rubygems

Probably isn't the best way, but it seemed to piece of work for me. I had an older project with compass/sass that was declining on ruby i.nine but at present works as before.

I noticed that installing ruby 1.8 also installed a package called crimson-switch. Might be able to switch betwixt 1.viii and ane.9 with this utility, although I oasis't played with it and RVM is probably a better solution for switching cherry versions.

Eliah Kagan

112k 51 gold badges 304 silver badges 469 statuary badges

answered May 8, 2022 at 13:54

2

  • Aye, this is what I finally came to.. more or less. Using unlike steps and tools but the basic idea is the same - using "saucy" repositories again.

    May thirteen, 2022 at thirteen:20

  • Since 13.ten is stop-of-life at present, I'm wondering if it may presently be necessary to use the corresponding old-releases software source for that deb line. Equally a totally split up affair, note that some software from saucy (or any Ubuntu version) got SRUs after 13.x's release; in that case one would utilise saucy-updates or saucy-security instead of saucy. As shown on this cached page, ruby1.eight did non so saucy is correct.

    Aug iv, 2022 at 11:56

You should not use repos that are for older versions. You lot will see severe maintenance problems and mayhap break your organization.

Use a PPA like this one:

                sudo apt-go install python-software-backdrop sudo apt-add together-repository ppa:brightbox/ruby-ng sudo apt-become update                              

EDIT: Equally pointed out in the comments, they don't support 14.04 simply yet, but they have an experimental repository that has packages for Trusty.

answered Jun 2, 2022 at 8:08

3

  • Note that this doesn't work for xiv.04. "We provide Ruby 1.8.7 packages for Ubuntu Lucid, Precise, Quantal, Raring and Saucy."

    Jul 23, 2022 at xv:00

  • @tubaguy50035 thank you, I've extended my answer.

    Jul 23, 2022 at 15:54

  • The first control should be sudo apt-get install software-backdrop-common.

    Nov 11, 2022 at 0:28

Not the reply y'all're looking for? Browse other questions tagged 14.04 software-installation ruby or enquire your own question.

Source: https://askubuntu.com/questions/452809/how-to-install-ruby-1-8-7-back-on-ubuntu-14-04-after-upgrade

Posted by: alvaradogonell.blogspot.com

0 Response to "How To Install Ruby In Ubuntu 14.04"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel