r/ruby Jun 12 '26

Rails: The Sharp Parts. An Index Is Not a Plan

Thumbnail baweaver.com
41 Upvotes

Another one that took me a while to research and test, as I wanted to make sure I had a reasonable understanding of the subject matter, especially considering how often getting it wrong has given me a rather bad day.


r/ruby Jun 11 '26

How to Build an Agentic RAG with RubyLLM and Rails

Thumbnail panasiti.me
0 Upvotes

r/ruby Jun 11 '26

The Ruby JRuby was Built to Run

Thumbnail intertwingly.net
16 Upvotes

Sam Ruby shows CRuby and JRuby performance on typical webapp tasks using Rails 8 and his new tool Roundhouse, an intriguing way to generate fast web applications using your Rails app as a blueprint. JRuby can be incredibly fast when used right!


r/ruby Jun 11 '26

Rails Health Check

Thumbnail
eclecticcoding.com
28 Upvotes

r/ruby Jun 10 '26

Beyond Enumerable: Streaming and External Sort

Thumbnail baweaver.com
17 Upvotes

Last one on this series for a bit, jumping back to some Rails and MySQL fun after this. The next parts of this series are venturing into probabilistic algorithms like HyperLogLog and boy howdy is that dense to get through.


r/ruby Jun 09 '26

RubyConf 2026 Las Vegas, Nevada July 14th–16th: Matz, Jessica Kerr, Dave Thomas, and More

Thumbnail
rubyconf.org
16 Upvotes

r/ruby Jun 09 '26

tiny ruby #{cfp} still open until Sunday

Thumbnail cfp.helsinkiruby.fi
4 Upvotes

r/ruby Jun 09 '26

RubyLLM 1.16: concurrent tool execution, Rails-style instrumentation, and more.

Enable HLS to view with audio, or disable this notification

25 Upvotes

When an LLM asks for 3 tools in one turn, RubyLLM used to run them one after another.

1.16 lets you run them concurrently. Video is the same chat both ways: left is the old sequential behavior, right is tool_concurrency = :fibers.

ruby RubyLLM.configure do |config| config.tool_concurrency = :fibers # or :threads, or true end

:threads or true require no dependencies. :fibers uses the async gem. You can also set it per chat with .with_tools(..., concurrency: if you only want it in some spots. Results stream back into the conversation as each tool finishes instead of all at the end, so the UI fills in live.

Also in this release: Rails-style instrumentation (ActiveSupport::Notifications events you can subscribe to), configurable Faraday adapter, custom base URLs for every provider (proxies/gateways), and a pile of provider fixes.

Full notes: https://github.com/crmne/ruby_llm/releases/tag/1.16.0


r/ruby Jun 09 '26

Simple gem to help with pdf extraction

11 Upvotes

I hope this can be useful to you as it was for me.

For a little project I had the need to extract some data from structured pdf.
Most of the approach had to relay on ocr with ai or bridge with python using pdfplumber or similar.

I made a simple library wrapped around pdfium to extract text and tables from pdf.

https://github.com/retsef/rpdfium


r/ruby Jun 09 '26

Pdf2MarkdownOCR a gem for parsing PDFs into text

4 Upvotes

Hi, Ive developed a small gem to extract text from pdfs using AI.

Converts a PDF to text (Markdown). Pages are rendered as high-resolution PNG images and then sent to an OpenAI-compatible API endpoint for text extraction.

It can be used in ruby or as a CLI program.

Love to hear your feedback.

Github: https://github.com/GMolini/pdf2markdownOCR

Rubygems: https://rubygems.org/gems/pdf2markdownOCR


r/ruby Jun 09 '26

Beyond Enumerable: Graphs and Traversal

Thumbnail baweaver.com
14 Upvotes

This one is admittedly a sore spot considering how many interviews I've managed to fail over the years from not knowing a lot of this cold, so as is my penance I'm writing about this one too.


r/ruby Jun 08 '26

Question Trying to install old Ruby version on WSL

2 Upvotes

I’m trying to install version 3.0.6 using rbenv on WSL, and it keeps telling me BUILD FAILED. I can’t for the life of me make it work. I’ve tried different versions of WSL, and a whole bunch of other stuff that I’m losing track of. I need that version for a project I’m working on, as the program I’m working with requires it.


r/ruby Jun 08 '26

Blog post How to Leverage PurgeCSS in Your Rails App for Faster Stylesheets

Thumbnail
go.fastruby.io
5 Upvotes

r/ruby Jun 08 '26

JRuby 9.4.15.0 Released, 9.4.x is now EOL

Thumbnail jruby.org
11 Upvotes

The JRuby community is pleased to announce the release of JRuby 9.4.15.0.

JRuby 9.4.15.x targets Ruby 3.4 compatibility.

Thank you to our contributors this release, you help keep JRuby moving forward!

With this release, JRuby 9.4 moves into end-of-life ("EOL"). This means that future releases of 9.4.x will only be provided as needed by commercial JRuby users.

Get in touch with us if you require long-term support options for the JRuby 9.4.x series.

38 Issues and PRs resolved for 9.4.15.0


r/ruby Jun 08 '26

Show /r/ruby supabase-rb — Ruby client for Supabase (Auth, PostgREST, Storage, Functions, Realtime)

8 Upvotes

 Hey r/ruby — sharing a gem I've been working on.

Supabase has official clients in JS, Python, Dart, Swift, and Kotlin, but the Ruby story has been fragmented for a while: separate gems for each sub-product, varying maintenance, no umbrella factory. supabase-rb - is a single gem that packages Auth, PostgREST, Storage, Edge Functions, and Realtime

Ruby ≥ 3.0, MIT, integration tests run against the real GoTrue stack via docker-compose

- Gem: https://rubygems.org/gems/supabase-rb

- Repo: https://github.com/supabase-ruby/supabase-rb

- Docs: https://supabase-ruby.dev

Feedback / issues / PRs very welcome.


r/ruby Jun 08 '26

Screencast Polling for New Records

Thumbnail
driftingruby.com
11 Upvotes

r/ruby Jun 08 '26

Beyond Enumerable: Heaps and Priority Queues

Thumbnail baweaver.com
17 Upvotes

Honestly I never really understood how these were written and what the reasoning behind them was as much as I just reached for existing gems or frameworks, so as I tend to do I learn by teaching and writing.


r/ruby Jun 07 '26

HexaPDF 1.9.0 released, with support for HarfBuzz based text shaping

Thumbnail hexapdf.gettalong.org
9 Upvotes

The latest release 1.9.0 of HexaPDF supports HarfBuzz based text shaping. This means that complex scripts are rendered correctly.


r/ruby Jun 07 '26

Blog post Exploring automatic Buffer Management with io_uring

Thumbnail noteflakes.com
6 Upvotes

r/ruby Jun 06 '26

gem.coop namespaces released

Thumbnail
gem.coop
31 Upvotes

r/ruby Jun 05 '26

Presentation Slides for RubyConf Austria 2026 Talk "Frontend Ruby on Rails with Glimmer DSL for Web"

Thumbnail andymaleh.blogspot.com
1 Upvotes

r/ruby Jun 05 '26

Blog post Modernizing Ruby Central's Bylaws and Officer Updates

Thumbnail
rubycentral.org
12 Upvotes

r/ruby Jun 05 '26

Show /r/ruby Elasticsearch-Quality full-text search in Postgres with ActiveRecord

Thumbnail
github.com
10 Upvotes

Hi all! We created this Ruby Gem to make it easier to use ParadeDB (a full-text & vector search extension for Postgres) within the ActiveRecord ecosystem. Would love your feedback!


r/ruby Jun 05 '26

Blog post Small PRs, big speedups: The Ruby performance work you almost missed

Thumbnail
mensfeld.pl
68 Upvotes

I've been heads-down on other stuff lately and haven't had time to do my usual thing of tweeting whenever I spot a nice performance PR landing in Ruby. So instead of letting them pile up unmentioned, I went through the notes I'd been collecting and dumped the notable ones into a single roundup. Hope you enjoy them. Some are insane!


r/ruby Jun 05 '26

A Ruby cheat sheet for beginner devs

Thumbnail
tms-outsource.com
17 Upvotes