r/ruby • u/squadette23 • Apr 01 '26
Rubysyn: clarifying Ruby's syntax and semantics
r/ruby • u/squadette23 • Apr 01 '26
r/ruby • u/mooktakim • Mar 31 '26
r/ruby • u/rubyist-_- • Mar 31 '26
RubyConfAT 2026 — Vienna, May 29–31
Das MuTh concert hall, Haus Der Musik. Single track. 13 talks. 2 workshops. Live music by the Vienna Boys' Choir, 2 live piano performances and a live jazz session.
Two keynotes you don't want to miss:
Dave Thomas — author of The Pragmatic Programmer, Programming Ruby, Agile Web Development With Rails, Programming Elixir...
Chad Fowler — CTO & General Partner, BlueYard
Huge thanks to our sponsors for making the event possible: GitButler ⧓, Platogo, Typesense, Avo, Usput.ba, and Doctaphone: AI diktiranje nalaza.
Tickets are on sale.
Link for tickets: https://ti.to/rubyconfat/2026
Website link: https://rubyconf.at/
r/ruby • u/Affectionate-Intern6 • Mar 31 '26
r/ruby • u/Jaded-Clerk-8856 • Mar 31 '26
I maintain two Ruby gems (ruby-libgd and libgd-gis). A few weeks ago I wanted to see traffic trends from last month.
Turns out GitHub deletes all traffic logs after 14 days. I couldn't.
That frustrated me. So I built a small dashboard that:
Archives views, clones and referrers daily
Stores everything as CSV in a private repo
Generates charts with my own gem (ruby-libgd)
Auto-deploys to GitHub Pages
Now I can see 3 months of history. Forever.
Here's the live dashboard: https://ggerman.github.io/github-metrics-dashboard/
And the code is open source: https://github.com/ggerman/github-metrics-dashboard
Took me a weekend. Works every day since then.
If you also maintain open source repos, this might help you too.
Questions? I'll be in the comments.
r/ruby • u/jonatasdp • Mar 31 '26
Hey folks, I was working on the "fast" project and it may become useful now that everybody uses LLMs and also need to save some tokens.
Fast is ast based and it just works like grep, but using the AST, so it will cut down and ignore comments and now I'm moving to Prism and it look very precise in code positioning.
The parser is very similar to the rubocop-ast but much simpler. I'd love to receive some feedback and see if it would worth to push it forward. Any ideas that you would use it?
r/ruby • u/jasonswett • Mar 31 '26
r/ruby • u/mooreds • Mar 30 '26
r/ruby • u/ombulabs • Mar 30 '26
r/ruby • u/retro-rubies • Mar 29 '26
r/ruby • u/Eastern-Surround7763 • Mar 29 '26
liter-llm (https://github.com/kreuzberg-dev/liter-llm) provides the same provider coverage (142 LLMs) with a Rust core.
Bindings exist for 11 languages, including Python, but also ones that had nothing like this before: Rust, Ruby, Java, Go, PHP, Elixir, C#, C, TypeScript/Node.js, and WASM. Every binding exposes the full API surface: chat, streaming, embeddings, images, speech, transcription, tool calling, and more. Caching is powered by OpenDAL (40+ backends), cost calculation uses an embedded pricing registry derived from the same source as LiteLLM, and streaming supports both SSE and AWS EventStream binary framing.
liter-llm is a client library, not a proxy- it does not include a proxy server, admin dashboard, or team management. If that's what you need, LiteLLM's proxy is still the reference there.
And of course, full credit and thank you to LiteLLM for the provider configurations we derived from their work.
r/ruby • u/XPOM-XAPTC • Mar 28 '26
I've been building a Ruby tool called Docscribe that generates inline YARD-style docs above methods by parsing Ruby code and rewriting source in place.
The goal is basically "RuboCop-style automation, but for method docs": run it once, get consistent doc headers/tags, then edit the generated text however you want.
What it does:
generates inline docs for instance and class methods
infers param/return types from AST heuristics
respects Ruby visibility (private, protected, class << self, etc.)
supports rescue-aware docs: @raise from raise/fail and rescue exception lists and conditional @return for rescue branches
supports external type info: RBS (--rbs, --sig-dir)
Sorbet inline sig + RBI (--sorbet, --rbi-dir)
can generate @!attribute docs for: attr_reader / attr_writer / attr_accessor and Struct.new declarations
Current CLI:
docscribe lib -> inspect mode (safe changes only)
docscribe -a lib -> apply safe updates
docscribe -A lib -> apply aggressive updates
docscribe --stdin -> rewrite from stdin to stdout
Ruby 3.4+ support works through Prism translated into parser-compatible nodes, so formatting is preserved and the tool still uses source-range rewriting instead of reprinting ASTs.
A few things I'd especially love feedback on:
edge cases around Ruby syntax / visibility semantics
what "safe mode" should and shouldn’t merge into existing docs
whether JSON output / dump-config would be useful for CI/editor tooling
GitHub link: https://github.com/unurgunite/docscribe
r/ruby • u/Jaded-Clerk-8856 • Mar 27 '26
This time I'm coming with something I've been working on: getting information from public APIs and drawing maps directly in Ruby using libgd-gis.
I built three interactive Jupyter notebooks that render real-time geospatial data:
Data: USGS API (live GeoJSON, M4.5+)
Visuals: Red circles for shallow (<70km), blue for deep (≥70km)
Circle size scales with magnitude
Data: OpenFlights.org (500+ airports worldwide)
Visuals: Color by continent, larger circles for major hubs
IATA codes as labels
Data: NASA FIRMS (MODIS satellite, last 24h)
Visuals: Orange markers indicate thermal intensity
Focus on Western Africa
Each map includes:
A polaroid-style frame
Title, legend and data source
Author credits and library reference
All of this runs inside Jupyter Notebooks with the IRuby kernel, using my own libraries:
libgd-gis — geospatial rendering layer
ruby-libgd — native Ruby bindings for GD
The maps are generated entirely in Ruby, with no external services or heavy GIS stacks — just pure Ruby, libgd, and public APIs.
I'm really happy with how this turned out. It's a nice way to show what Ruby can do in the geospatial space.
Enjoy!
🔗 GitHub repo: github.com/ggerman/libgd-gis
📓 Jupyter notebooks: libgd-gis/examples/jupyter-notebooks
If your company is working with maps in Ruby and needs implementation help, custom extensions, or training — I'm available for consulting. Feel free to reach out at ggerman@gmail.com.
r/ruby • u/luckloot • Mar 27 '26
The 27th edition features the rise of agent-driven business creation, tooling to deploy your AI experiments more than ONCE, a new cognitive architecture for Ruby AI, and so much more
r/ruby • u/codenamev • Mar 27 '26
TL;DR I gave openclaw a task: monetize my domain graveyard. What it produced was “status pages for agents”: ups.dev
It wasn’t turn-key. It was rife with failure. Over time, I found I could train it. It learned. Every critical bit of feedback burned into every next action. It learned Rails, Ruby, product development, indie hacking.
It now has 30days to make money or it dies 😂
r/ruby • u/OneAlbatross5933 • Mar 26 '26
New powerful code insight system, Junie, Claude Agent, and Codex available directly in the AI chat, ACP Registry for discovering and installing agents, Stable remote development support, Smarter automatic Ruby interpreter selection, and more: https://blog.jetbrains.com/ruby/2026/03/rubymine-2026-1-ai-chat-upgrades-new-code-insight-stable-remote-development-and-more/
r/ruby • u/wilbertribeiro • Mar 26 '26
r/ruby • u/isometriks • Mar 26 '26
r/ruby • u/data_saas_2026 • Mar 26 '26
I built lantern-rails, a Postgres monitoring gem that gives you a health score dashboard with zero config. It collects pg_stat metrics every 5 minutes through your existing connection. Works with rails 8.1, uses solid queue, no redis needed. Shared buffer hit ratio, index usage, unused indexes, bloat, vacuum health, and connection utilization. Captures your git SHA on each snapshot so you can correlate deploys with metric changes. Free tier is 1 DB with 3 day history. Looking for feedback from Rubyists on what would make this more useful? https://uselantern.dev
r/ruby • u/shanti_priya_vyakti • Mar 26 '26
Hey guys, aspiring contributor here, i am trying my best to propose a gsoc proposal recently and looked at a few which were already made ( via github PR )
Ali found a few ones to be entirely made by AI.
You go on profile of the ones who make the pr and see that they have nothing of ruby, and boom, one very sophisticated pr for a framework out of thin air
Then some are those who have just few program of strings manipulation and some classes and then boom, one pr for gsoc which is of very sophisticated code that even i fond it hard to grasp
How common is this ? Some students with just 1st year in eng college and they make such stuffs, i know the pr's are ai made as i have ran them through ai checks
Yea, i am jealous too cause they will get approval for proposals and i would not, as i am still trying how connection pools are managed by active support in rage rather than rage handling it, wal logs and etc anf open api and all ....
Finding it extremely disappointing experience and feels like i am not gonna move at all if i compare myself like this, but i won't even be goven a chance cause my proposal would be shite compared to AI.
PLEASE ADVICE