Ask Your Question
0

Ruby 1.9.3 on Fedora 19

asked 2013-07-12 13:59:17 -0600

marios_tesla gravatar image

updated 2013-07-12 15:37:48 -0600

Is it possible to install ruby 1.9.3 or 1.8 on fedora 19? i need previous version because sencha touch native packaging requires one of those 2 versions of ruby

thanks in advance

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2013-07-12 15:35:27 -0600

No, Fedora 19 ships ruby 2.0.* .

[ user@F19 ]$ yum info ruby
Loaded plugins: etckeeper, langpacks, refresh-packagekit
Installed Packages
Name        : ruby
Arch        : x86_64
Version     : 2.0.0.195
Release     : 8.fc19
Size        : 63 k
Repo        : installed
Summary     : An interpreter of object-oriented scripting language
URL         : http://ruby-lang.org/
License     : (Ruby or BSD) and Public Domain
Description : Ruby is the interpreted scripting language for quick and easy
            : object-oriented programming.  It has many features to process text
            : files and to do system management tasks (as in Perl).  It is simple,
            : straight-forward, and extensible.

Fedora 18 ships Ruby 1.9.3, though.

[ user@F18 ] $ repoquery -i ruby --releasever=18
Name        : ruby
Version     : 1.9.3.448
Release     : 31.fc18
Architecture: x86_64
Size        : 64265
Packager    : Fedora Project
Group       : Development/Languages
URL         : http://ruby-lang.org/
Repository  : updates
Summary     : An interpreter of object-oriented scripting language
Source      : ruby-1.9.3.448-31.fc18.src.rpm
Description :
Ruby is the interpreted scripting language for quick and easy
object-oriented programming.  It has many features to process text
files and to do system management tasks (as in Perl).  It is simple,
straight-forward, and extensible.

RHEL6 and derivatives have ruby 1.8.7 . Using a longer life distribution is probably a better idea for a server.

[ user@EL6 ]$ yum info ruby
Available Packages
Name        : ruby
Arch        : i686
Version     : 1.8.7.352
Release     : 10.el6_4
Size        : 533 k
Repo        : updates
Summary     : An interpreter of object-oriented scripting language
URL         : http://www.ruby-lang.org/
License     : Ruby or GPLv2
Description : Ruby is the interpreted scripting language for quick and easy
            : object-oriented programming.  It has many features to process text
            : files and to do system management tasks (as in Perl).  It is simple,
            : straight-forward, and extensible.
edit flag offensive delete link more

Comments

sad to hear that... thanks

marios_tesla gravatar imagemarios_tesla ( 2013-07-12 15:46:51 -0600 )edit
1

answered 2013-07-12 16:15:06 -0600

marios_tesla gravatar image

actually it is possible with rvm (ruby version manager)

steps i followed:

sudo yum install gcc gcc-c++ zlib-devel

\curl -L (https)://get.rvm.io | bash -s stable --ruby   //remove Parentheses, cant post links

rvm install 1.9.3

rvm --default ruby-1.9.3
edit flag offensive delete link more

Comments

Possible? sure. Advisable? Well, probably not. Fedora's ruby maintainers put a lot of effort into keeping the packages updated for bugfixes and security patches, and you'd be duplicating that effort - or worse, not keeping your public facing webserver updated. Why not just use something where Ruby is maintained for you?

randomuser gravatar imagerandomuser ( 2013-07-13 01:31:31 -0600 )edit

Advisable for development purposes.

rmariuzzo gravatar imagermariuzzo ( 2014-03-10 12:30:36 -0600 )edit

Question Tools

Stats

Asked: 2013-07-12 13:59:17 -0600

Seen: 5,553 times

Last updated: Jul 12 '13