Skip to content

Instantly share code, notes, and snippets.

@phelewski
Last active May 20, 2021 15:18
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phelewski/5796b16b846f9f1dab1edd885db96beb to your computer and use it in GitHub Desktop.
Save phelewski/5796b16b846f9f1dab1edd885db96beb to your computer and use it in GitHub Desktop.
Visual Studios Code Remote - Container Blog | Example Ruby Project devcontainer.json
{
"name": "Ruby Development",
"dockerFile": "Dockerfile",
"appPort": 9001,
"extensions": [
"rebornix.Ruby",
"castwide.solargraph",
"kaiwood.endwise",
"misogi.ruby-rubocop",
"groksrc.ruby",
"hoovercj.ruby-linter",
"miguel-savignano.ruby-symbols",
"wingrunr21.vscode-ruby"
],
"settings": {
"[ruby]": {
"editor.insertSpaces": true,
"editor.tabSize": 2
},
"solargraph.commandPath": "/usr/local/bundle/bin/solargraph",
"solargraph.bundlerPath": "/usr/local/bin/bundle",
"ruby.rubocop.executePath": "/usr/local/bundle/bin/",
"ruby.rubocop.onSave": true,
"ruby.rubocop.configFilePath": "/workspaces/project/.rubocop.yml",
},
"postCreateCommand": "bundle install"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment