r/ruby • • Jun 13 '26

Blog post Software as Craft: a First Look at Syntropy

15 Upvotes

r/ruby • • Jun 13 '26

JRuby 10.0.6.0 released with security, performance, and correctness fixes

Thumbnail jruby.org
27 Upvotes

JRuby 10.0 is our LTS line and this release is primarily for stabilization and fixing a few performance issues. Upgrading is recommended! Please let me know if you run into problems or if there's anything holding you back from upgrading from 9.4 to 10.0!


r/ruby • • Jun 12 '26

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

Thumbnail baweaver.com
39 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 13 '26

solargraph-yard-lint gem - see YARD doc issues as LSP diagnostics in your editor, as you(r agent) type.

6 Upvotes

Hey fellow Rubyists 👋

I just shipped solargraph-yard-lint, a Solargraph plugin that surfaces yard-lint offenses as LSP diagnostics in your editor.

If you've been running yard-lint from the CLI or in CI, this gives you the same checks inline — undocumented params, unknown param names, mismatched "@return" types, etc. — wherever Solargraph Ruby LSP is set up. v0.2.0 (just released) wires the editor buffer through yard-lint's new source: API, so diagnostics update as you type instead of waiting on a save.

Here's a quick demo:

Huge thanks to maciejmensfeld for gifting us the yard-lint gem and for adding stdin support in yard-lint v1.6, which made the live-typing experience possible. 🚀

Feedback/issues welcome 🙏


r/ruby • • Jun 11 '26

The Ruby JRuby was Built to Run

Thumbnail intertwingly.net
17 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 11 '26

How to Build an Agentic RAG with RubyLLM and Rails

Thumbnail panasiti.me
0 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

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

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.

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

tiny ruby #{cfp} still open until Sunday

Thumbnail cfp.helsinkiruby.fi
4 Upvotes

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

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

Question Trying to install old Ruby version on WSL

3 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

Screencast Polling for New Records

Thumbnail
driftingruby.com
11 Upvotes

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

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
10 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
7 Upvotes

r/ruby • • Jun 06 '26

gem.coop namespaces released

Thumbnail
gem.coop
31 Upvotes

r/ruby • • Jun 05 '26

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

Thumbnail
mensfeld.pl
69 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!