[one-dev] 4.7.80 and Centos 6

Jose Angel Diaz joseangel.diaz at cenatic.es
Wed Jul 23 03:55:25 PDT 2014


I have tried in a fresh install the use of the SCL, but don't work.

The package opennebula-ruby have some dependencies on opennebula-server and
install the ruby package not the ruby193 package.

So the opennebula-ruby are always installing the ruby 1.8.7, the default
ruby package on CentOS6



2014-07-22 18:13 GMT+02:00 Javier Fontan <jfontan at opennebula.org>:

> We are going to modify install_gems so it does not try to install azure
> gem in older versions of Ruby. Meanwhile you can execute it skipping the
> cloud gems:
>
> # ./install_gems quota sustone auth_ldap oneflow oca
>
> RVM is a great tool but a bit cumbersome to use for daemon startup. Most
> of times the daemons don't run in a login shell so they don't load bash
> startup scripts that prepare the RVM environment and leads to mixed up
> environments (old ruby executable with newer binary gems).
>
> You may want to try SCL in CentOS
>
> http://wiki.centos.org/AdditionalResources/Repositories/SCL
>
>
> On Tue, Jul 22, 2014 at 12:16 PM, Jose Angel Diaz <
> joseangel.diaz at cenatic.es> wrote:
>
>> Hello
>>
>>  I'm trying the new opennebula 4.7.80 dev version and i've found a
>> problem with the ruby packages on Centos 6.
>>
>>  The package version at Centos repos for ruby is :
>>  ruby-1.8.7.352-13.el6.x86_64
>>
>> When we run the install_gems scripts this script try to install the
>> sqlite3 adn azure but the minimal ruby version required is:   Ruby version
>> >= 1.9.2
>>
>> I've solved this problem with RVM package and manual install of the last
>> ruby version:
>>
>>
>> ruby --version
>> ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]
>>
>> curl -L get.rvm.io | bash -s stable
>> source /etc/profile.d/rvm.sh
>> rvm install 1.9.3
>>
>> ruby --version
>> ruby 1.9.3p547 (2014-05-14 revision 45962) [x86_64-linux]
>>
>> ------------------------------------------------------------
>> ---------------------------------------------
>> Correo Corporativo Fundación Cenatic
>>
>> Este email ha sido enviado desde una plataforma perteneciente a la
>> Fundación Cenatic
>>
>> Cualquier duda o modificacion contactar con Fundación Cenatic
>> +34 924 67 73 16
>> info at cenatic.es
>>
>> _______________________________________________
>> Dev mailing list
>> Dev at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org
>>
>>
>
>
> --
> Javier Fontán Muiños
> Developer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | @OpenNebula | github.com/jfontan
>

-- 
---------------------------------------------------------------------------------------------------------
Correo Corporativo Fundación Cenatic

Este email ha sido enviado desde una plataforma perteneciente a la 
Fundación Cenatic  

Cualquier duda o modificacion contactar con Fundación Cenatic
+34 924 67 73 16
info at cenatic.es
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/dev-opennebula.org/attachments/20140723/61ecc014/attachment.htm>


More information about the Dev mailing list