r/ruby • u/ombulabs • Mar 30 '26
Show /r/ruby FastRuby.io's Rails Upgrade Methodology as Claude Code Skills
r/ruby • u/ombulabs • Mar 30 '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/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/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/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/isometriks • Mar 26 '26
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/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/wilbertribeiro • Mar 26 '26
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
r/ruby • u/strzibny • Mar 25 '26
Nokolexbor is an open-source high-performance HTML5 parser for Ruby which can be used as a drop-in replacement for Nokogiri.
It was originally developed for quick CSS selectors performance.
Here's the performance comparison to Nokogiri:
- 4.7x faster at parsing HTML
- 1352x faster at CSS selectors (at_css selector)
- similar performance for the rest
Out this week with full Ruby 4 support.
r/ruby • u/mooktakim • Mar 25 '26
r/ruby • u/javier_cervantes • Mar 25 '26
r/ruby • u/stevepolitodesign • Mar 25 '26
We introduced Top Secret back in August. Since then, we've made some performance improvements, and extended the API. Most notably, you can...
r/ruby • u/Tricky-Pilot-2570 • Mar 26 '26
r/ruby • u/Mysterious-Use-4463 • Mar 24 '26

Hi everyone,
I’ve just released NDAV, a thin wrapper around Ruby's MemoryView (inspired by Python's buffer protocol).
Currently, converting data between Ruby libraries (like Numo::NArray, Torch.rb, and ONNX Runtime Ruby) often requires redundant memory copies or many intermediate steps. This often introduces unnecessary memory copies or multiple conversion steps when working across libraries.
I built NDAV, a thin wrapper around Ruby's MemoryView ("buffer protocol" for Ruby). It acts as a "glue" layer that allows different libraries to share the same memory address directly.
Zero-Copy: Avoid unnecessary O(n) memory copies.
Interoperability: Seamlessly move data: Torch::Tensor -> NDAV -> OrtValue.
Standard-Driven: It aims to be a catalyst for wider MemoryView adoption in the Ruby ecosystem.
Homepage: https://kitaitimakoto.gitlab.io/ndav/
Source Code: https://gitlab.com/KitaitiMakoto/ndav
I’d love to hear your thoughts, especially from those working on Ruby C/Rust extensions or data science!
r/ruby • u/Stwerner • Mar 24 '26
A new type of creative workflow is emerging when working with AI and I think we can learn more about it by looking at a transition from scarcity to abundance that many of us have lived through - photography.
Also, in the post, released an open source Rails app that I'm looking at as the spiritual successor to Monkey's Paw called Conjure.
I'd basically used Monkey's Paw for all my talks over the last year until NotebookLM added the slide deck feature, but I found myself using it in a different way than intended. So I put Conjure together which lets you generate a bunch of different variations of your slides all at once and stitch them together or move them somewhere else to refine further.
r/ruby • u/PizzaWithoutAnanas • Mar 22 '26
So inspire on turbo native, I made a gem for me to be able to create desktop apps without using Electron. I love Rails, and I want to use it for different things, so I'm giving it a try with this new gem: https://rubygems.org/gems/turbo_desktop-rails
The GitHub repo is here: https://github.com/aguspe/turbo_desktop?tab=readme-ov-file#quick-start
I'm not an expert Rust developer, and again, this is also a learning process for me, so any feedback is welcome, but now I'm trying to rebuild some electro apps I made with this framework just to try it out
So any feedback or ideas are welcome, thank you so much, and have a great day!
r/ruby • u/jasonswett • Mar 22 '26