Skip to content

Instantly share code, notes, and snippets.

{
"name": "Ruby",
"image": "mcr.microsoft.com/devcontainers/ruby:3.3-bullseye",
"forwardPorts": [3000],
"customizations": {
"vscode": {
"extensions": []
}
}
}
@xitarps
xitarps / gist:45e323ba12d56f676e35865810b9d3fc
Created November 24, 2023 02:25
ngrok rails config(application.rb)
config.hosts << /[a-z0-9-]+\.ngrok\.io/ if Rails.env.development?
config.hosts << /[a-z0-9-]+\.ngrok-free\.app/ if Rails.env.development?
{
"json.schemas": [
],
"emmet.includeLanguages": {"erb": "html"},
"editor.rulers": [
80,
120
],
"launch": {
"configurations": [],
@xitarps
xitarps / gist:f20989a9976aab14517159fdc85a3223
Last active December 12, 2023 22:58
Ambiente dev ruby
Ubuntu 22.04
RVM(ruby version manager) - https://rvm.io
Adicionar chaves gpg(se necessário):
gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB