Skip to content

tekncoach/vscode-ruby-dev-container

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VSCode Ruby On Rails Devcontainer

Setup a Ruby On Rails Development environment in VSCode with devcontainer

VS Code, one of the most popular editors/IDEs today, with help from the Dev Containers extension, makes the task of setting up a container for software development easier than ever.

To demonstrate that, we’re going to walk through setting up such an environment for developing Ruby on Rails applications.

VSCode .devcontainer

A dev container employs a Docker Container as a development environment. With one you can mount Visual Studio Code (vscode) to a container for development through the configuration of a devcontainer.json file. Visual Studio Code isn't the only application for dev containers, but it is the one I'll cover here.

Development Containers: https://containers.dev Use pre-made templates: https://containers.dev/templates For Ruby On Rails and Postgresql: https://github.com/devcontainers/templates/tree/main/src/ruby-rails-postgres

See: https://code.visualstudio.com/docs/devcontainers/create-dev-container

Open a container from VS Code

Click on the green area in the lower left corner of VS Code or select Reopen in Container from the command palette.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published