# Latest Opennebula 5.6installation, bundler gem is not compatible with Centos 7 Ruby breaks the sequence

**URL:** https://forum.opennebula.io/t/latest-opennebula-5-6installation-bundler-gem-is-not-compatible-with-centos-7-ruby-breaks-the-sequence/7291
**Category:** Installation & Configuration
**Tags:** solved
**Created:** [May 28, 2019, 10:56pm UTC](https://forum.opennebula.io/t/latest-opennebula-5-6installation-bundler-gem-is-not-compatible-with-centos-7-ruby-breaks-the-sequence/7291 "2019-05-28T22:56:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![al3xxx](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/al3xxx/32/5985_2.png) [@al3xxx](https://forum.opennebula.io/u/al3xxx)
#### Post date: [May 28, 2019, 10:56pm UTC](https://forum.opennebula.io/t/latest-opennebula-5-6installation-bundler-gem-is-not-compatible-with-centos-7-ruby-breaks-the-sequence/7291/1 "2019-05-28T22:56:01Z")

</div>

Hello,

I was installing Opennebula 5.6 on an additional Centos7 node to expand my cloud and suddenly  
when I executed the step to install gems I am getting an error

```
[root@localhost ~]# /usr/share/one/install_gems
Fetching: bundler-2.0.1.gem (100%)
ERROR: Error installing bundler:
        bundler requires Ruby version >= 2.3.0.
/usr/share/one/install_gems:413:in `install_bundler_gem': undefined method `new' for #<IO:<STDERR>> (NoMethodError)
        from /usr/share/one/install_gems:592:in `<main>'

```

I was stuck - Centos7 latest Ruby is 2.0.0

```
[root@localhost ~]# rpm -q ruby
ruby-2.0.0.648-35.el7_6.x86_64

```

However have 3 other Centos7 nodes running Opennebula, same rpm version but I didn’t have such error before.  
This allowed me to work around the problem, by forcing same bundler gem version as I have on other nodes,  
after running

`gem install bundler -v 1.16.4`

I could continue with `/usr/share/one/install_gems`  
So, to avoid this problem in the future /usr/share/one/install\_gems should have bundler version forced to 1.16.4

---

<div class="post-metadata">

### Author: ![feldsam](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/feldsam/32/4441_2.png) [@feldsam](https://forum.opennebula.io/u/feldsam)
#### Post date: [May 29, 2019, 10:49am UTC](https://forum.opennebula.io/t/latest-opennebula-5-6installation-bundler-gem-is-not-compatible-with-centos-7-ruby-breaks-the-sequence/7291/2 "2019-05-29T10:49:06Z")

</div>

Hi, there is already closed issue related to your problem.

> <https://github.com/OpenNebula/one/issues/2778>

Check you install\_gems script a probably reopen issue

---

<div class="post-metadata">

### Author: ![al3xxx](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/al3xxx/32/5985_2.png) [@al3xxx](https://forum.opennebula.io/u/al3xxx)
#### Post date: [May 29, 2019, 1:16pm UTC](https://forum.opennebula.io/t/latest-opennebula-5-6installation-bundler-gem-is-not-compatible-with-centos-7-ruby-breaks-the-sequence/7291/3 "2019-05-29T13:16:39Z")

</div>

Sorry, didn’t check on github, only on forum.  
Having quick workaround for the problem here would definitely help somebody to avoid this and similar problems in the future.
