Skip to content

Ruby version hardcoded in SLES systemd unit file #27

@schulle877

Description

@schulle877

I used your module to install the forge-server on a SLES12 SP3 server. This server already has ruby2.5 installed. When installing the puppet-forge-server gem, ruby gems is automatically creating the startfile
/usr/bin/puppet-forge-server.ruby2.5. So in your service template at
https://github.com/unibet/puppet-forge_server/blob/master/templates/Suse/puppet-forge-server.service.erb line 23 the call should include a param, which represents the ruby version installed. Currently it is hardcoded using ruby2.1. I try to fix it for my use and post it here, if it works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions