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 <[email protected]
> 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
> [email protected]
>
> _______________________________________________
> Dev mailing list
> [email protected]
> 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
_______________________________________________
Dev mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/dev-opennebula.org

Reply via email to