- 
      
- 
        Save kumekay/83911328776d366c61cc42818d06a704 to your computer and use it in GitHub Desktop. 
    Change Ruby minor version in AWS Elastic Beanstalk
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Currently (03.2019) it's not possible to change the Ruby 'minor' version (eg. 2.3 => 2.4) using the web console | |
| # However, it's possible using the 'awscli' tool. | |
| # List of available platforms: https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html#platforms-supported.ruby | |
| brew install awscli # pip install awscli | |
| aws elasticbeanstalk update-environment \ | |
| --solution-stack-name "64bit Amazon Linux 2018.03 v2.9.1 running Ruby 2.6 (Puma)" \ | |
| --environment-name "***-dev-web" --region "us-east-1" --profile "***-dev" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment