1

I need to install ruby1.9.3-dev

sudo apt-get install ruby1.9.3-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ruby1.9.3-dev
E: Couldn't find any package by regex 'ruby1.9.3-dev'

It happens despite the fact that I previously did sudo apt-get update, sudo apt-get upgrade and sudo apt-get -f install.

1

To install Ruby on Ubuntu 12.10, just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below:

sudo apt-get install ruby1.9.3

To Install Gems

sudo apt-get install rubygems

To install all of Rails and its dependencies

sudo gem install rails

For more info check the Ruby Website

From researching, it says that ruby1.9.3-dev doesn't exist. And that ruby1.9.1-dev is its alias. Here is what I've done. I installed ruby as stated above, and then ran the command sudo apt-get install ruby1.9.3-dev, and I got the same error. But when I ran sudo apt-get install ruby1.9.1-dev, this is what I got:

enter image description here

  • it's already installed via rvm. – Alan Coromano Apr 23 '13 at 7:16
  • From researching, it says that ruby1.9.3-dev doesn't exist. And that ruby1.9.1-dev is its alias. See the update in my answer. – Mitch Apr 23 '13 at 8:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.