@ -5,7 +5,7 @@
"type": "ruby_lsp",
"name": "Debug Rails",
"request": "launch",
"program": "bin/rails server",
"program": "bin/rails server --port 3000",
},
]
}
@ -8,4 +8,7 @@
"editor.semanticHighlighting.enabled": true, // Enable semantic highlighting
"editor.formatOnType": true // Enable formatting while typing
"emmet.includeLanguages": {
"erb": "html"
@ -1,5 +1,15 @@
# README
## Install from scratch Debian 12 (bookworm)
```bash
sudo apt install -y build-essential ruby-dev libpq-dev libyaml-dev
2>/dev/null grep -q GEM_HOME $HOME/.bashrc || printf "export GEM_HOME=$HOME/.ruby\nexport PATH=\$PATH:\$GEM_HOME/bin\n" >> $HOME/.bashrc && source $HOME/.bashrc
[[ -f $HOME/.gemrc ]] || echo 'gem: --no-document' >> $HOME/.gemrc
gem install rails bundler
bundle install
```
## database.yml
```yaml