Puppet - 在安装 Puppet 仪表板时,rubygems(rake) 依赖项正在阻塞

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

我正在尝试在 linux 机器 (EL 6) 上安装 puppet-dashboard。但是此安装因对 ruby​​gems(rake) 的依赖而受阻。但是我的机器上已经安装了这个。

请找到以下详细信息,这可能有助于向我指明前进的方向。

[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)

下面是我在尝试安装 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

我找到了这个问题的解决方案,现在我觉得 post 这个问题很傻,因为它的答案很简单。

我刚刚去了这个 link https://rpmfind.net/linux/rpm2html/search.php?query=rubygem-rake 并下载了 Rake rpm,并安装了。砰!! puppet-Dashboard 解决了它与耙子的依赖关系!