Skip to content
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

Update rvm-on-pages.md #2448

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions _pages/pages/documentation/rvm-on-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ sidenav: pages-documentation
Pages uses [RVM](https://rvm.io/) to select which ruby version to use to build a Pages site.

## Default Ruby version
By default, the build will use Ruby version 2.6.6.
By default, the build will use Ruby version 3.1.4.

## Specifying a Ruby version

Prior to building a site, the build will check for a file named `.ruby-version`. If one is found, it will use RVM to install and use the version specified there.

For example, if you wish to use Ruby version 2.4.0 to build a site, add a new file named `.ruby-version` to your repository. The `.ruby-version` file should be at the top-level directory. The contents of that file should be "`2.4.0`".
For example, if you wish to use Ruby version 3.2.2 to build a site, add a new file named `.ruby-version` to your repository. The `.ruby-version` file should be at the top-level directory. The contents of that file should be "`3.2.2`".

The minimum allowed version for Ruby is 3.0.6
Loading