add header for devcontainers, this serves two purposes: [ci-skip] (#45129)

* add header for devcontainers, this serves two purposes:

 * Despite what was previously implied, it indeed *is* possible to use
   local devcontainers even if you are a member of an organization that
    has codespaces enabled
 * More importantly, adding a separate heading makes the option more
   likely to be found by people who are *not* a member of an organization
   that has codespaces enabled and therefore skip over to the next
   bullet based on the heading.

* Update guides/source/contributing_to_ruby_on_rails.md

Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>

* Update guides/source/contributing_to_ruby_on_rails.md

Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>

Co-authored-by: Jonathan Hefner <jonathan@hefner.pro>
This commit is contained in:
Sam Ruby 2022-05-20 11:07:14 -07:00 committed by GitHub
parent aa5e958f65
commit ab76b7e50a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -193,7 +193,9 @@ To move on from submitting bugs to helping resolve existing issues or contributi
If you're a member of an organization that has codespaces enabled, you can fork Rails into that organization and use codespaces on GitHub. The Codespace will be initialized with all required dependencies and allows you to run all tests.
If you're not a member of an organization that has codespaces enabled you can use the [VS Code remote containers plugin](https://code.visualstudio.com/docs/remote/containers-tutorial). The plugin will read the `.devcontainer` configuration in the repository and build the Docker container locally.
#### Using VS Code Remote Containers
If you have [Visual Studio Code](https://code.visualstudio.com) and [Docker](https://www.docker.com) installed, you can use the [VS Code remote containers plugin](https://code.visualstudio.com/docs/remote/containers-tutorial). The plugin will read the [`.devcontainer`](https://github.com/rails/rails/tree/main/.devcontainer) configuration in the repository and build the Docker container locally.
#### Using rails-dev-box