Skip to content

Allow user to specify ruby version to run the agent as #90

@bradleyjames

Description

@bradleyjames

bin/codedeploy-agent is unnecessarily complex and creates odd failure scenarios.

  1. I updated my installed version of ruby to 2.3.3. Because the script has 2.3.1 hard coded as the maximum supported version the script tried to find a different ruby and chose a much older one which was core dumping when I attempted to start the agent.

  2. Even if the script found another ruby that ruby won't necessarily the ruby I want to run the agent with. Randomly choosing a ruby isn't helpful and is un *nix like.

My request is to check for the existence of an environment variable specifying the ruby to use. If it doesn't exist use the ruby the script is ran with. No guessing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions