Search code examples
ruby-on-railsrakepuppetpuppet-enterprise

Puppet - while installing puppet dashboard, a rubygems(rake) dependency is blocking


I am trying to install puppet-dashboard on a linux machine (EL 6). But this installation is blocked by a dependency on rubygems(rake). But i have this already installed on my machine.

please find the below details which might be helpful for showing me the way forward.

[admin@server ~]$ ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
[admin@server ~]$ gem list
YAML safe loading is not available. Please upgrade psych to a version that supports safe loading (>= 2.0).

*** LOCAL GEMS ***

bundler (default: 1.16.1)
json (1.5.5)
rake (10.5.0)

below is what i see when i try to install puppet-dashboard

Loaded plugins: product-id, search-disabled-repos, security, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package puppet-dashboard.noarch 0:1.2.23-1.el6 will be installed
--> Processing Dependency: rubygem(rake) for package: puppet-dashboard-1.2.23-1.el6.noarch
--> Processing Dependency: ruby-mysql for package: puppet-dashboard-1.2.23-1.el6.noarch
--> Running transaction check
---> Package puppet-dashboard.noarch 0:1.2.23-1.el6 will be installed
--> Processing Dependency: rubygem(rake) for package: puppet-dashboard-1.2.23-1.el6.noarch
---> Package ruby-mysql.x86_64 0:2.8.2-1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: puppet-dashboard-1.2.23-1.el6.noarch (puppetlabs-products)
           Requires: rubygem(rake)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Solution

  • I found the solution for this and now I am feeling silly to post this question since the answer to it is so simple.

    I just went to this link https://rpmfind.net/linux/rpm2html/search.php?query=rubygem-rake and downloaded the Rake rpm, installed. and bam !! the puppet-Dashboard solves its dependency with the rake!