Thanks for quick reply. If smart proxy uses system ruby, i think i know
what my problem is… We have our own ruby we roll in /usr/local/bin and it
seems CentOS loves to put /usr/local/bin in the path before /usr/bin - now
that i know this one uses system, i'll see if i can get it working that
way. (i took it out of path to run installer, but systemctl certainly
probably munges the path)
I did use the foreman-installer to install this node.
will report back shortly
-byron
···
On Thursday, February 12, 2015 at 6:44:02 AM UTC-6, Lukas Zapletal wrote:
>
> Hello,
>
> > Fresh install of Foreman on CentOS 7 and i can't get foreman-proxy to
> start.
>
> have you installed with our installer?
>
> > Looking at the startup script in
> >
> > /usr/share/foreman-proxy/bin/smart-proxy
> >
> > I see it just does
> >
> > /usr/bin/ruby env
>
> Smart-proxy is not running on SCL ruby, it is running on system default
> ruby. In CentOS 7 case this is Ruby 2.0 I think.
>
> Our repositories ship all the required rubygems. If you followed our
> guildelines and documentation, it was all installed.
>
> --
> Later,
> Lukas #lzap Zapletal
>
changing foreman-proxy to use #!/usr/bin/ruby fixed it… using
#!/usr/bin/env ruby was picking up a ruby in /usr/local/bin -
thanks!
-byron
···
On Thursday, February 12, 2015 at 6:44:02 AM UTC-6, Lukas Zapletal wrote:
>
> Hello,
>
> > Fresh install of Foreman on CentOS 7 and i can't get foreman-proxy to
> start.
>
> have you installed with our installer?
>
> > Looking at the startup script in
> >
> > /usr/share/foreman-proxy/bin/smart-proxy
> >
> > I see it just does
> >
> > /usr/bin/ruby env
>
> Smart-proxy is not running on SCL ruby, it is running on system default
> ruby. In CentOS 7 case this is Ruby 2.0 I think.
>
> Our repositories ship all the required rubygems. If you followed our
> guildelines and documentation, it was all installed.
>
> --
> Later,
> Lukas #lzap Zapletal
>