How to update Ruby >>> CentOS

E

Ehab Diab

Hello,
my data center has installed Ruby for me
it is: ruby 1.8.7 (2009-06-08 patchlevel 173) [i686-linux]

i want to have it updated for 1.9.1

I am waiting for help,
Thanks alot.
 
E

Ehab Diab

Jason said:
Seems like what you need is RVM. Makes it easy to install additional
Rubies without ruining your system ruby dependencies.

http://rvm.beginrescueend.com/

Cheers,
Jason

hello,
i really can't understand the commands in the link you gave me.

would you mind type here the commands to update Ruby to the version
1.9.1 ?

*when i try yum ubdate ruby:
root@server [~]# yum update ruby
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.5ninesolutions.com
* base: mirrors.easynews.com
* extras: mirror.5ninesolutions.com
* updates: centos-distro.cavecreek.net
addons | 951 B
00:00
base | 2.1 kB
00:00
extras | 2.1 kB
00:00
updates | 1.9 kB
00:00
Excluding Packages in global exclude list
Finished
Setting up Update Process
No Match for argument: ruby
No package ruby available.
No Packages marked for Update


I am waiting the commands to update Ruby
Thanks.
 
K

Kyle Schmitt

There is no official CentOS package for ruby 1.9. You will either
need to compile* and install it, or download a compatible RPM from the
internet and install that instead.

A quick google search shows a few options, like this page
http://www.kanarip.com/custom/el5-ruby/x86_64/ (I'm not vouching for
it, I just found it on google).

Good luck
--Kyle

* Note, if you compile it yourself, you probably want to append 1.9 or
1.9.1 or whatever to the binaries, otherwise things may get confused.


Jason said:
Seems like what you need is RVM. Makes it easy to install additional
Rubies without ruining your system ruby dependencies.

http://rvm.beginrescueend.com/

Cheers,
Jason

hello,
i really can't understand the commands in the link you gave me.

would you mind type here the commands to update Ruby to the version
1.9.1 ?

*when i try yum ubdate ruby:
root@server [~]# yum update ruby
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
=C2=A0* addons: mirror.5ninesolutions.com
=C2=A0* base: mirrors.easynews.com
=C2=A0* extras: mirror.5ninesolutions.com
=C2=A0* updates: centos-distro.cavecreek.net
addons =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | =C2=A0951 B
00:00
base =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2.1 kB
00:00
extras =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 | 2.1 kB
00:00
updates =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0| 1.9 kB
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top