Skip to content

Commit b4ef026

Browse files
committed
Elastic Beanstalk: Ruby 3.0 is finally supported.
1 parent 341fe24 commit b4ef026

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.ebextensions/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Use a t2.micro instance if you are using the AWS free tier. Otherwise, use t3.na
1010
Create environment:
1111
```
1212
git tag -f -a -m "First deploy" eb
13-
eb init rssbox --platform "Ruby 2.7 running on 64bit Amazon Linux 2" --keyname id_rsa
13+
eb init rssbox --platform ruby-3.0 --keyname id_rsa
1414
eb create --single --instance_type t2.micro
1515
```
1616

@@ -63,7 +63,7 @@ While testing, it is a lot faster to deploy if there is only one instance runnin
6363
To upgrade an existing app to a new major version of Ruby:
6464
```
6565
aws elasticbeanstalk list-available-solution-stacks --region us-west-2 --query 'SolutionStacks[?contains(@,`Ruby`)==`true`]'
66-
aws elasticbeanstalk update-environment --region us-west-2 --environment-name rssbox --solution-stack-name "64bit Amazon Linux 2 v3.2.1 running Ruby 2.7"
66+
aws elasticbeanstalk update-environment --region us-west-2 --environment-name rssbox --solution-stack-name "64bit Amazon Linux 2 v3.4.0 running Ruby 3.0"
6767
```
6868

6969
Supported Ruby versions: https://docs.aws.amazon.com/elasticbeanstalk/latest/platforms/platforms-supported.html#platforms-supported.ruby

0 commit comments

Comments
 (0)