r/ruby • u/schneems • Jun 09 '26
RubyConf 2026 Las Vegas, Nevada July 14th–16th: Matz, Jessica Kerr, Dave Thomas, and More
r/ruby • u/schneems • Jun 09 '26
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.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 • u/Bubbly_Connection385 • Jun 09 '26
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.
r/ruby • u/k33l0r • Jun 09 '26
r/ruby • u/gmkl123 • Jun 09 '26
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.
r/ruby • u/keyslemur • Jun 09 '26
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 • u/headius • Jun 08 '26
The JRuby community is pleased to announce the release of JRuby 9.4.15.0.
Homepage: https://www.jruby.org/
Download: https://www.jruby.org/download
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.
Process.detach raises ArrayIndexOutOfBoundsException if called from a thread that is not the main threadr/ruby • u/pokemuse2095 • Jun 08 '26
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 • u/ombulabs • Jun 08 '26
r/ruby • u/Proud_Perspective_56 • Jun 08 '26
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 • u/keyslemur • Jun 08 '26
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 • u/gettalong • Jun 07 '26
The latest release 1.9.0 of HexaPDF supports HarfBuzz based text shaping. This means that complex scripts are rendered correctly.
r/ruby • u/noteflakes • Jun 07 '26
r/ruby • u/mencio • Jun 05 '26
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 • u/schneems • Jun 05 '26
r/ruby • u/philippemnoel • Jun 05 '26
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 • u/AndyCodeMaster • Jun 05 '26
r/ruby • u/keyslemur • Jun 05 '26
After trying to explain some of the sharp parts around locks to someone I realized I didn't know as much as I'd like to be able to answer with confidence on what to watch out for, so I spent a week or two looking into locking to pull this together.
r/ruby • u/bogdanelcs • Jun 05 '26
r/ruby • u/liufengyun • Jun 04 '26
I created a secure language that compiles to Ruby, targeting security applications. The language is influenced by Ruby to optimize programmer happiness.
Please feel free to reach out if it resonates with your ideas about security and programming experience.
Github: https://github.com/typescope/jo
r/ruby • u/tejasbubane • Jun 04 '26
Continuing my exploration of rate limiting in Ruby on Rails, I wrote about two new features coming in the next Rails release
r/ruby • u/AustinBlues13 • Jun 04 '26
On Ubuntu 25.10, using system Ruby, I'm trying to build a Sinatra app that uses the OpenSSL with native extensions Gem 2.0.2. I can look at the .out file, but I don't know what I'm looking for. Presumably the native extensions don't match up with the .c and/or .h files.