3

Command in Ubuntu Installs Ruby 1.8, Not the Latest 1.9

 2 years ago
source link: https://www.codesd.com/item/command-in-ubuntu-installs-ruby-1-8-not-the-latest-1-9.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Command in Ubuntu Installs Ruby 1.8, Not the Latest 1.9

advertisements

I'm running:

sudo apt-get install ruby

and version 1.8 is installed. Any ideas why the latest version isn't being loaded and taken into consideration?


Try sudo apt-get install ruby1.9.1-full instead. But I'd suggest you to take a look at Ruby Version Manager (RVM). That tool could save you a lot of headache.

Related Articles

itunesConnect, Select an iOS version to test is not the latest version

My connection was dropped while I am uploading the archive to the apps store.. and it showed Uploaded successfully with big green tick.. And also it goes to the app store and wait forever in the processing state. So I just uploaded it with the new bu

Why was not the latest version of rsync installed on CentOS 7.2?

I am using CentOS 7.2. I would like to install the latest version of rsync - rsync-3.1.2, rsync-3.0.9 is on system, installed when installing mariadb with yum, # rpm -qa |grep rsync rsync-3.0.9-17.el7.x86_64 removing rsync-3.0.9 first, # yum remove r

Xcode updated is not the latest version

I clearly updated Xcode in my Appstore to version 7.2, and it completed the update, but when I open the about Xcode window, it still shows version 7.1.1 Why hasn't it updated? I too had similar problem. Go to https://developer.apple.com/xcode/downloa

Do not see the latest version when updating Node.js via Windows 7 Setup (MSI)

I'm trying to update node on my Windows 7 box but I'm not seeing the latest version after I re-install/update node. I'm just going out to http://nodejs.org/download/ and getting the latest Windows installer, v0.10.28. I then just run that installer w

Phusion Passenger on Ubuntu 8.10: how to configure the gems directory and users?

I am actually running phusion passenger on ubuntu for a while. today i updated Ruby Enterprise Edition to the latest version - now it seems i have to reinstall all the gems that were installed on the system. so here are my questions what is the best

Notify users of my web page that their browser does not have the latest update?

I want to show a warning message to all of my logged in users to my web application if their browser is not the latest version. So if they are using IE8 without the latest security patch, or if they are using Firefox 3.0 (instead of 3.5 or 3.6 at thi

Why will not the update of the cocoa gems be changed?

Anyone know why 'sudo gem update cocoapods' would return 'Nothing to update', even though I'm running 0.27.1, which is not the latest (0.28.0)?I'd say just reinstall the gem: sudo gem uninstall cocoapods; sudo gem install cocoapods

pysvn gets the last revision number for a specific directory (not the header)

I'm trying to find the latest revision number for a specific directory in the svn root, without needing to create a working copy. I know many applications can do this, but I need to get the info programatically with python. I have tried: myUrl = "htt

Ruby installed, but the installation of RubyGems does not work

I just installed ruby on Ubuntu by running this command: sudo apt-get install ruby1.9.1-full Then I downloaded RubyGems, extracted it, and navigated to that directory. When I typed this command: ruby setup.rb or sudo ruby setup.rb I got this error: T

Ruby gem installation problem - ERROR: Can not find valid gem 'vim-ruby' (> = 0) in any repository

I typed following command in prompt: # gem install vim-ruby --remote then got a error message: ERROR: Could not find a valid gem 'vim-ruby' (>= 0) in any repository My environment is windows xp and ruby's version is 1.9.3 how to solve it?vim-ruby is

Can not connect with the mysql root account but can connect when you use the sudo command in ubuntu 16.04

Can't login with Mysql root account but can login when use sudo command in ubuntu 16.04 bluebird:~$ mysql -u root -p Enter password: ERROR 1698 (28000): Access denied for user 'root'@'localhost' bluebird:~$ mysql -u root -p Enter password: ERROR 1698

ruby datamapper will not load

I was trying to learn about the Sinatra ruby framework by following this tutorial: http://net.tutsplus.com/tutorials/ruby/singing-with-sinatra-the-recall-app-2/ however, after running the gem install and writing a simple sinatra server in test.rb lik

Get current CPU usage with ruby ​​or cli (NOT live as the top)

I want to find a way that I can call a command or method, and get an int with the cpu usage the moment I called it. Not like top, where it keeps refreshing. I am writing an app in MacRuby, so I can either use a cl command, or some ruby api. any thoug

The installation of rvm does not work: & ldquo; RVM is not a & rdquo;

I just installed RVM, but can't make it work. I have such line at the end of my .profile file: [[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm" I tried to run source .profile and restarting terminal, but still, w

Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK