Installing Ruby on Raspberry Pi/ARM

General support questions
Post Reply
russell_jt
Posts: 15
Joined: 2016/09/03 16:57:42

Installing Ruby on Raspberry Pi/ARM

Post by russell_jt » 2016/11/27 22:50:14

I am trying to install Ruby on my Raspberry Pi 3 running Centos. However I receive the following error trying to install Ruby.

Code: Select all

[root@centos-rpi3 test]# yum install ruby
Loaded plugins: fastestmirror
base                                                               | 3.6 kB  00:00:00     
centos-kernel                                                      | 2.9 kB  00:00:00     
extras                                                             | 2.9 kB  00:00:00     
updates                                                            | 2.9 kB  00:00:00     
Loading mirror speeds from cached hostfile
No package ruby available.
Error: Nothing to do
Is there a version of Ruby available, and how may I go about installing it?

arrfab
Site Admin
Posts: 878
Joined: 2005/01/03 21:30:54
Location: /country/belgium
Contact:

Re: Installing Ruby on Raspberry Pi/ARM

Post by arrfab » 2016/11/28 06:49:13

Yes, ruby fails to rebuild correctly on armhfp. In fact it builds fine, but the integrated tests fail and so failing the rpm build process
See the build log here : http://armv7.dev.centos.org/rpmbuild/c7 ... /build.log

russell_jt
Posts: 15
Joined: 2016/09/03 16:57:42

Re: Installing Ruby on Raspberry Pi/ARM

Post by russell_jt » 2016/11/28 19:16:00

Hi arrfab,

Thanks for your response - apologies I haven't been using Linux too long. Is there a workaround available? Are you saying that I have to build from source, and although the tests fail it will still build successfully?

Many thanks
Russell

russell_jt
Posts: 15
Joined: 2016/09/03 16:57:42

Re: Installing Ruby on Raspberry Pi/ARM

Post by russell_jt » 2016/12/06 21:33:47

Can anyone offer any further assistance here?

steavenku
Posts: 3
Joined: 2008/09/17 01:07:56
Contact:

Re: Installing Ruby on Raspberry Pi/ARM

Post by steavenku » 2017/01/31 02:20:25

Hi,

Is there any updates on this thread?

Ruby is a very important package for a lot of features such as ffmpeg. Without it, all of this packages cannot be built in CentOS on Raspberry Pi.

Post Reply