Error while installation

Hi,

Trying to install by
following:- Foreman :: Manual

After running - foreman-installer, getting following error:-

/Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/Package[mod_passenger]/ensure:
change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e 0
-y install mod_passenger' returned 1: Error: Package:
passenger-4.0.53-4.el7.x86_64 (epel)

Requires: rubygem(rake)

After facing the same issue previously, I installed rubygem and passenger.
But getting the same error.

[root@foreman-home ~]# gem install rack -v=1.6.4

Fetching: rack-1.6.4.gem (100%)

Successfully installed rack-1.6.4

Parsing documentation for rack-1.6.4

Installing ri documentation for rack-1.6.4

1 gem installed

[root@foreman-home ~]# gem install passenger -v=4.0.53 --conservative

Fetching: daemon_controller-1.2.0.gem (100%)

Successfully installed daemon_controller-1.2.0

Fetching: passenger-4.0.53.gem (100%)

Building native extensions. This could take a while…

Successfully installed passenger-4.0.53

Parsing documentation for daemon_controller-1.2.0

Installing ri documentation for daemon_controller-1.2.0

Parsing documentation for passenger-4.0.53

Installing ri documentation for passenger-4.0.53

2 gems installed

–Prakash

> Hi,
>
> Trying to install by
> following:- Foreman :: Manual
>
> After running - foreman-installer,getting following error:-
>
> /Stage[main]/Apache::Mod::Passenger/Apache::Mod[passenger]/Package[mod_passenger]/ensure:
> change from purged to present failed: Execution of '/usr/bin/yum -d 0 -e
> 0 -y install mod_passenger' returned 1: Error: Package:
> passenger-4.0.53-4.el7.x86_64 (epel)
>
> Requires: rubygem(rake)

You're missing this dependency from your OS repo. If you're using RHEL,
check you have the "optional" repository enabled. Otherwise check for
the source of rubygem-rake in your OS distribution, it should be present.

> After facing the same issue previously, I installed rubygem and
> passenger. But getting the same error.
>
>
> [root@foreman-home ~]# gem install rack -v=1.6.4

If you're using the installer, you're using a packaged installation. Do
not install gems locally over the top, you may introduce version conflicts.

··· On 23/03/17 04:08, prakash ranjan wrote:


Dominic Cleal
dominic@cleal.org