Couldn't find any package by regex - ruby
Solution 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: