chaoss / grimoirelab-kibiter

Soft fork of Kibana, for the benefit of GrimoireLab
https://chaoss.github.io/grimoirelab
Other
24 stars 17 forks source link

[docker] Add ruby-rake installation to default version #111

Closed dlumbrer closed 5 years ago

dlumbrer commented 5 years ago

The same fix than https://github.com/Bitergia/grimoirelab-kibiter-finos/pull/2


In order to avoid an error when installing ruby-npm, the installation of rake is necessary.

This is the error:

ERROR:  Error installing fpm:
    ERROR: Failed to build gem native extension.

    current directory: /var/lib/gems/2.3.0/gems/childprocess-1.0.1/ext
/usr/bin/ruby2.3 mkrf_conf.rb

current directory: /var/lib/gems/2.3.0/gems/childprocess-1.0.1/ext
/usr/bin/ruby2.3 -rubygems /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake RUBYARCHDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/childprocess-1.0.1 RUBYLIBDIR=/var/lib/gems/2.3.0/extensions/x86_64-linux/2.3.0/childprocess-1.0.1
/usr/bin/ruby2.3: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-10.5.0/bin/rake (LoadError)

rake failed, exit code 1