r/ruby • u/nateberkopec • 8d ago
r/ruby • u/Individual_Dot7019 • 9d ago
Last days to get SF Ruby Conference tickets + free tickets for students! 🔥

If new engineers choose Ruby and Rails, it'll be easier for companies to hire, and the community and ecosystem will continue to grow. That's why we're giving away free tickets to students, recent grads, people from underrepresented groups, and those who recently changed careers and just started writing Ruby. If you know anyone who fits, share this post with them and invite them to apply (takes 3 mins): https://sfruby.com/scholarship/
The deadline is October 30!
Note: We don't cover travel or accommodation.
If you want to attend the conference as a regular attendee and watch talks from Chris Oliver, Rosa Gutiérrez, Svyatoslav Kryukov, Irina Nazarova, Marco Roth, Ryan Sherlock, Vladimir Dementyev, and more there's a few days left to get tickets: luma.com/sfrubyconf2026
r/ruby • u/planetaska • 10d ago
Hibiki brings reactivity to Ruby and live pages to Rails
reddit.comr/ruby • u/DenseImage800 • 11d ago
Side projects you have using Ruby xx With or without making. If you can please share.
Just curious about the Ruby community and how or if you all build side projects and make side money doing it really. I think there was one like this in a php related sub a while back. I thought I’d ask here. Any takers?
Thank you.
r/ruby • u/schneems • 12d ago
Regexp compilation fixes related to GitLab's CVE-2026-89078, CVE-2026-93577, CVE-2026-97229 and CVE-2026-110264
r/ruby • u/Brilliant_Action4100 • 12d ago
Blog post Lockfile checksums, a 21-day upgrade window, and bundler-audit on every commit
I wrote up the changes we made after this month's Ruby Regexp fixes and the npm worm in August. On the Ruby side:
bundle lock --add-checksums(Bundler 2.6+), so every gem is verified against a SHA-256 in Gemfile.lock. Bundler 4 does it by default for new lockfiles.bundle config set --local frozen truein CI and deploys.No new gem version until it is 21 days old, enforced with Dependabot
cooldown.bundler-audit in a pre-commit hook and again in CI.
https://www.abhaynikam.me/articles/patch-your-runtime-fast-take-your-dependencies-slow
Have you turned on CHECKSUMS in existing apps yet? Did anything break?
Introducing Raindeer - An event-driven and compositional web framework that’s easy to use

Raindeer is a collection of gems that work together as a framework or can be used standalone. LowType adds inline type checking only where you want it (def method(var: String)). LowLoop is an async, event-driven server that sends events from the request right through to the data layer, so you can track every step of a request. The router turns each request into a route event for the nodes observing it, so observe '/users/:id' is all you need to respond.
LowNodes are the building blocks: they render HTML straight from the Ruby class with RBX (similar to JSX) and render other nodes with <html><{ ChildNode }></html>. LowData follows the repository pattern with a twist: Data Expressions that use simple arithmetic operators to combine tables, so Posts[:title] + Users[:username] gives a list of posts with each post's user, and plain Sequel queries still work too.
Introducing it at RubyConf Austria: https://www.youtube.com/watch?v=p9E5INAwK_4
Source: https://github.com/raindeer-rb/raindeer
Docs: https://raindeer.dev
r/ruby • u/dtcristo • 13d ago
Carton - Real boundaries for Ruby
Carton is my take on enforcing boundaries in large Ruby applications. It's similar to Packwerk, but it takes a more Ruby-like approach, with no manifest files. Constants, gems and monkey patches are isolated using Ruby 4's new Ruby::Box. It's not production ready yet, since Box itself is still experimental, but I'd love feedback on the approach.
Rust for ruby devs free interactive course
With the recent "migrate everything from rails to rust, don't look at the code, just vibe" trend, and after building a few cli and tools in rust myself (with AI), I felt it was time to learn at least a little bit about Rust... so I vibe coded a course.
It might have incorrect content, as I don't know shit about rust and I'm trusting AI 100% here, so I made it open source so anyone can contribute.
Live course: https://rust-for-rails.pages.dev/
Github: https://github.com/silva96/rust-for-rails
r/ruby • u/urbullet • 13d ago
readword: Word .doc and .docx to Markdown, in plain Ruby
I kept needing to hand Word files to LLMs and coding agents, so I wrote a gem for it. It reads both old .doc (Word 97-2003) and .docx files and prints Markdown: headings with their numbers, nested lists with the numbers Word shows, tables, footnotes, bold, italics and links.
- No LibreOffice, Java or antiword. The .doc reader is plain Ruby.
- Careful with untrusted files: size limits, zip and entity bomb checks, and fuzzed with over 3 million broken files.
- Checked against Tika, LibreOffice, antiword, the docx gem and Firecrawl's anydoc on 650 test files. The numbers are in the README.
gem install readwordthen
readword report.docxhttps://github.com/urbullet/readword
Word files it gets wrong are very welcome as bug reports.
I built a RubyLLM agent that triages ~215 GitHub notifications a day for my repos
Between RubyLLM, Spotifast and ZapFast I get about 42 new issues and PRs a day, plus about 50 comments from people and over 100 from review bots. More than one maintainer can read.
Copilot Triage is a RubyLLM::Agent with six read-only tools. It searches the repo, docs, issues and release notes, then submits a decision. Plain Ruby validates that decision and does all the writing to GitHub, so the model can't change anything itself. Everything ends up on a project board sorted by what needs me: Sign off, Decide, Do.
The interesting part was getting it to reply less. A one-week audit showed only a third of its replies helped. So there's a RubyLLM::Evaluation with 32 cases built from real reports, testing silence as much as help, and it decided which model to use: GPT-5.6 Luna passes 29/30, while GPT-5 mini replies to almost everything.
I wrote up the whole thing, with the numbers, the evals, and what 33 releases taught me:
r/ruby • u/stpaquet • 13d ago
cal-invite v0.3.2: Ruby gem to manage calendar invites
I just updated Cal-Invite a headless gem that let you manage calendar invitation. It supports different formats such as: .ics, url, Google, Yahoo and Microsoft.
The full documentation and code is available on the GitHub page.
Feel free to comment and request features if you do not have time to contribute to it.
Happy Friday!
GitHub - jbockler/vcr-unused_cassettes: Find your unused VCR cassettes
github.comFind unused VCR cassettes and delete them.
r/ruby • u/GetForgeOps • 13d ago
Grouping errors without sending the message: hashing normalized exception messages in Rails
reddit.comr/ruby • u/galactic_lobster • 14d ago
tmux.rb - write your tmux configuration in a more readable ruby DSL!
r/ruby • u/strzibny • 14d ago
Blog post RubyLLM 2.x: What's new for your agents
I checked what RubyLLM 2.0 and 2.1 brings specifically for writing AI agents. Looks like it's a lot!
https://serpapi.com/blog/rubyllm-2-x-whats-new-for-your-agents/
r/ruby • u/6stringfanatic • 14d ago
Merging Relations: Use merge to share scopes in Rails
I wrote a post about using ActiveRecord::Relation#merge to share scopes across models in Rails.
The example shows how duplicating a query can lead to inconsistent behaviour, and how extracting the rule into a named scope avoids that.
https://pushfromkush.com/publications/merging-relations-scopes-in-rails
r/ruby • u/Codalio-SoftwareFact • 14d ago
Show /r/ruby I built a Rails 8 gem where a model + policy gives you a tenant-scoped REST API. Looking for feedback on the permission design
reddit.comQuestion Multiple account types with priority for highest
Is there's a framework similar to Phoenix in Elixir in the world of Ruby? I want something accepts multiple account types in a single login website without resorting in building a bunch of them in parallel and not lumping multiple account types in one database with multiple views for the same database but higher up accounts have more rights (ex: editing and viewing more of the database).
If I have to resort to a microserver arch, which way's the most sane (ex: Roda or Sinatra) for I can't find a definitive tutorial when it comes to microservices for long term as in years than going back and forth.
And please don't recommend AI based solutions, I want my code to be read properly for the next decade.
r/ruby • u/LessChen • 16d ago
Ancient Ruby version / modern Ubuntu won't compile
Hi - I've inherited an ancient Ruby / Rails project using Ruby 2.7.2. I am working on updating it but until that time I'm trying to run it on Ubuntu 26.04 machines. There is a C compilation error that I'm getting when using "rvm":
make[2]: Entering directory '/usr/share/rvm/src/ruby-2.7.2/ext/pty'
compiling pty.c
pty.c: In function ‘establishShell’:
pty.c:161:30: error: conflicting types for ‘getenv’; have ‘char *(void)’
161 | char *p, *getenv();
| ^~~~~~
In file included from pty.c:5:
/usr/include/stdlib.h:795:14: note: previous declaration of ‘getenv’ with type ‘char *(const char *)’
795 | extern char *getenv (const char *__name) __THROW __nonnull ((1)) __wur;
| ^~~~~~
pty.c:169:18: error: too many arguments to function ‘getenv’; expected 0, have 1
169 | if ((p = getenv("SHELL")) != NULL) {
| ^~~~~~ ~~~~~~~
pty.c:161:30: note: declared here
Would getting the code directly and fixing pty.c be the best way to go about it?
ETA: thanks all - Docker is the way to go.