Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bradleyjames opened this issue Dec 1, 2016 · 3 comments
Closed

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

bradleyjames opened this issue Dec 1, 2016 · 3 comments

Comments

@bradleyjames
Copy link
Contributor

bradleyjames commented Dec 1, 2016

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.

@gdeblina
Copy link

Thank you for the request, we will add it to our feature request list.

@charusat09
Copy link

@gdeblina if this feature is already merged to master then, this issue needs to be closed.

@mwjones-aws
Copy link
Contributor

Duplicate of #301

@mwjones-aws mwjones-aws marked this as a duplicate of #301 Jun 7, 2022
@mwjones-aws mwjones-aws closed this as not planned Won't fix, can't repro, duplicate, stale Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants