You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
pvincent ac8255e482 rubocop pending features 4 months ago
.vscode rubocop pending features 4 months ago
app rubocop pending features 4 months ago
bin LSP ok 5 months ago
config exclude lambda 5 months ago
db LSP ok 5 months ago
lib symbols 4 months ago
log LSP ok 5 months ago
public LSP ok 5 months ago
storage LSP ok 5 months ago
test LSP ok 5 months ago
tmp LSP ok 5 months ago
vendor LSP ok 5 months ago
.dockerignore LSP ok 5 months ago
.gitattributes LSP ok 5 months ago
.gitignore LSP ok 5 months ago
.rubocop.yml rubocop pending features 4 months ago
.ruby-version LSP ok 5 months ago
.semver_git_tag tagged as 0.0.3 4 months ago
Dockerfile LSP ok 5 months ago
Gemfile log object 4 months ago
Gemfile.lock log object 4 months ago
Procfile.dev rescue IO.console in case of debug 4 months ago
README.md emmet 5 months ago
Rakefile LSP ok 5 months ago
config.ru LSP ok 5 months ago

README.md

README

Install from scratch Debian 12 (bookworm)

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

[...]
development:
  <<: *default
  database: ruby-debug
  user: ruby-debug
  password: ruby-debug
  host: ct1.lxd
[...]

rails generate scaffold score name:string grade:integer rails db:migrate

Gemfile

group :development do
  [...]
  gem 'rubocop', require: false
end

Debugger via ruby-lsp

  • run OK, but without Procfile (no more tailwincss/watch)
  • attach disfunctions (attach PORT but no interaction/stop/run)

Extensions

  • Ruby-lsp
    • Ruby-lsp-rails
  • Ruby Db Schema
  • Markdown All in One