You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The [default Ruby version for new Ruby applications is 3.3.9](https://devcenter.heroku.com/articles/ruby-support#default-ruby-version-for-new-apps). You’ll only get the default if the application does not specify a Ruby version.
Heroku highly recommends specifying your desired Ruby version. You can specify a Ruby version in your `Gemfile`:
```ruby
ruby "3.3.9"
```
Once you have a Ruby version specified in your `Gemfile`, update the `Gemfile.lock` by running the following command:
```term
$ bundle update --ruby
```
Make sure you commit the results to git before attempting to deploy again:
```term
$ git add Gemfile Gemfile.lock
$ git commit -m "update ruby version"
```
The [default Ruby version for new Ruby applications is 3.3.9](https://devcenter.heroku.com/articles/ruby-support#default-ruby-version-for-new-apps). You’ll only get the default if the application does not specify a Ruby version.
4
+
5
+
Heroku highly recommends specifying your desired Ruby version. You can specify a Ruby version in your `Gemfile`:
6
+
7
+
```ruby
8
+
ruby "3.3.9"
9
+
```
10
+
11
+
Once you have a Ruby version specified in your `Gemfile`, update the `Gemfile.lock` by running the following command:
12
+
13
+
```term
14
+
$ bundle update --ruby
15
+
```
16
+
17
+
Make sure you commit the results to git before attempting to deploy again:
0 commit comments