Ruby Tutorial

Ruby-ll package installation error during bundle install

Ruby-ll package installation error during bundle install in one of the puppet project

Getting ruby-ll installation error during bundle installation for one of the puppet projects.

(venv) [machine] bundle install

Error:

An error occurred while installing ruby-ll (2.1.2), and Bundler cannot continue.

How to resolve ruby-ll installation error to complete the bundle installation in puppet project?

It could be due to ruby-devel package missing on your machine even ruby is already installed it.

Try to install ruby-devel package on your machine and check bundle install once done the ruby-ll installation.

For Fedora, RHEL or Centos :

$  sudo yum install ruby-devel

check available package in the https://rubygems.org/gems/ruby-ll/versions/2.1.2-java

$ sudo gem install ruby-ll -v 2.1.2 

Once installed, ruby-ll, try to intall the bundle for puppet project

(venv) [machine] bundle install

Now bundle installation is compulted successfully without any errors.

Output:

  
Using puppet-openstack_spec_helper 15.0.0 from https://git.openstack.org/openstack/puppet-openstack_spec_helper (at master@5efe5f9)
Bundle complete! 3 Gemfile dependencies, 141 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
Post-install message from trollop:
!    The 'trollop' gem has been deprecated and has been replaced by 'optimist'.
!    See: https://rubygems.org/gems/optimist
!    And: https://github.com/ManageIQ/optimist
Post-install message from minitar:
The `minitar` executable is no longer bundled with `minitar`. If you are
expecting this executable, make sure you also install `minitar-cli`.
Post-install message from metadata-json-lint:

----------------------------------------------------------
    For the most accurate results, the semantic_puppet
    gem should be included within your Gemfile if you
    use Puppet <= 4.8.x
----------------------------------------------------------
(venv) [machine]$  

 Ruby Tutorial

Privacy Policy  |  Copyrightcopyright symbol2020 - All Rights Reserved.  |  Contact us   |  Report website issues in Github   |  Facebook page   |  Google+ page

Email Facebook Google LinkedIn Twitter
^