---
title: "Packing a Ruby 3.1 app into an executable"
publication: "Ruby Weekly"
issue: 638
published_at: "2023-01-26"
canonical_url: "https://rubyweekly.com/issues/638"
---

Plus async Ruby adventures, more on Rails' steps into Docker, and a brand new Ruby event. |        

#​638 — January 26, 2023 

[Read on the Web](https://rubyweekly.com/issues/638)  

Together with [![UseCSV logo\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,w_420,h_100/e_make_transparent/co_white,e_outline:4/gqb2jcvsy62dcm9yn99d.png)](https://usecsv.com/?utm_source=cp&utm_medium=email&utm_campaign=rw)  

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/vz0zjxmpuitgjmfitfx7.jpg)](https://thoughtbot.com/blog/my-adventure-with-async-ruby)  

[My Adventure With Async Ruby](https://thoughtbot.com/blog/my-adventure-with-async-ruby) — How a developer used the [async](https://github.com/socketry/async) gem to speed up a portion of his app. It’s a fantastic library, but we agree that it could do with getting more docs and write-ups, like this very post. 

Matheus Richard   

[Rails on Docker](https://fly.io/ruby-dispatch/rails-on-docker/) — A line-by-line explanation of the “official” Rails Dockerfile that is coming in 7.1. While there are sure to be changes before it’s released, this is a handy way to grok the purpose of each line in the file and whether it’ll suit your setup. 

Brad Gessler (Fly․io)   [![\](https://copm.s3.amazonaws.com/b4a9899e.png)](https://usecsv.com/?utm_source=cp&utm_medium=email&utm_campaign=rw) 

[🔠 Add CSV Import to Your App with UseCSV](https://usecsv.com/?utm_source=cp&utm_medium=email&utm_campaign=rw) — Learn how to use our JS plugin and API to give your users a delightful data import experience. Smart auto-column matching and validation rules included. Results are sent to your app as a webhook or frontend callback. 

USECSV.COM sponsor   

▶[Getting to One Million Users as a One-Woman Dev](https://www.youtube.com/watch?v=efCI1ByPT5s) — This is a fantastically recorded, well-delivered talk from someone who built a Goodreads-alternative called [The StoryGraph](https://www.thestorygraph.com/) on top of Rails. After all these years, it’s fun to see Rails presented as the simple “boring answer” to building a productive Web app :-) 

Nadia Odunayo   

🎤 Prefer a podcast? [Nadia went on _Remote Ruby_](https://share.transistor.fm/s/8e80a705) and spoke more freely about her path and how she got into public speaking too.  

[Packing a Ruby 3.1.3 App into a Single Executable](https://github.com/ericbeland/ruby-packer) — Eric took [Ruby Packer](https://github.com/motor-admin/ruby-packer), a tool for packing a Ruby app into a single executable, and created a fork that works with Ruby 3.1. It’s early days and there’s a bit of hoop jumping to do, but it’s a promising step forward. 

Eric Beland   

**QUICK BITS** 

- 📅 [Blue Ridge Ruby](https://blueridgeruby.com/) is a new regional Ruby conference headed to the mountains of North Carolina this June 8-9.
- JetBrains has [opened its Early Access Program](https://blog.jetbrains.com/ruby/2023/01/rubymine-2023-1-is-open/) for its RubyMine 2023.1 IDE.
- There's a new online _zine_ for DragonRuby Game Toolkit users – [check it out here](https://dragonridersunite.itch.io/dragonruby-zine-issue-1).  

📕 Tutorials, Articles & Features  

[Ruby GraphQL Field Notes](https://ryanbigg.com/2023/01/ruby-graphql-field-notes) — If, like Ryan, you’re a fan of GraphQL then you’ll certainly benefit from this list of tips based on his experience supporting production apps and APIs. 

Ryan Bigg   

[An Overview of Rails 7.1 Features](https://manny.codes/this-week-in-rails-wrapped-an-overview-of-rails-7-1-features-part-iii/) — A three-part series on all the new in Rails 7.1, and there is a lot of it. All told, Emmanuel covers _sixty_ new items, so get a cuppa and start figuring out what these changes mean to your app. 

Emmanuel Hayford   

[Need to Upgrade Your Rails App but Don’t Have the Time or Resources? We Can Help](https://reinteractive.com/services/ruby-on-rails-upgrade-support) 

reinteractive Pty Ltd sponsor   

[Calling Ruby Methods in C: Avoiding Memory Leaks](https://blog.appsignal.com/2023/01/25/calling-ruby-methods-in-c-avoid-memory-leaks.html) — Discover how you can avoid memory leaks in your C extension by using functions like `rb_protect`. 

Ulysse Buonomo   

[Server-Side Request Forgery and Rails](https://greg.molnar.io/blog/server-side-request-forgery/) — An explanation of Server-Side Request Forgery (SSRF) and some ways to mitigate it where Ruby apps are involved. 

Greg Molnar   

[How GoodJob's Cron Does Distributed Locks](https://island94.org/2023/01/how-goodjob-s-cron-does-distributed-locks) — [Good Job](https://github.com/bensheldon/good_job) is a Postgres-based Active Job backend. This post explains how it uses locks to ensure scheduled jobs only run once and at the right time. 

Ben Sheldon   

[Using 'Pure Models' in Migrations](https://www.netskin.com/posts/20230105-pure-models) — An interesting approach to keeping your migrations and models isolated. 

Tom Rothe (Netskin)   

[RubyMine: New UI, Powerful Debugger, Best RBS, RSpec, and JS Support](https://www.jetbrains.com/ruby/?utm_source=cooperpress&utm_medium=cpc&utm_campaign=rubyweekly_jan) 

JetBrains sponsor   

[Why to Only Use Locals in View Partials](https://andycroll.com/ruby/only-use-locals-in-view-partials/) 
Andy Croll   

[Replaying Events in RailsEventStore](https://blog.arkency.com/replaying-events-in-railseventstore/) 
Łukasz Reszke  

🛠 Code & Tools 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/qiggmox9veiammx2img0.jpg)](https://github.com/yohasebe/engtagger)  

[EngTagger: English Language Part-of-Speech Tagger Library](https://github.com/yohasebe/engtagger) — A probability based, corpus-trained tagger that assigns POS (Part of Speech) tags to English text. A Ruby port of Perl’s_Lingua::EN::Tagger._ 

Yoichiro Hasebe   

[Mapkick: Create Beautiful JavaScript Maps with One Line of Ruby](https://chartkick.com/mapkick) — This is brilliant if you need a map in your Ruby or Rails apps, and it supports many options around markers, tooltips, controls, and more. 

Mapkick   

[Elevate Your Systems Performance with TelemetryHub](https://ter.li/4c4aqn) — Unlock insights and optimize performance with our advanced monitoring and analytics solution. Improve uptime and efficiency with TelemetryHub. 

TelemetryHub by Scout sponsor   

[Adventure on the Bonny Slope with Bridgetown 1.2](https://www.bridgetownrb.com/release/adventure-in-bridgetown-1.2/) — The popular Ruby-based progressive site generator and full-stack framework has its first big release of the year featuring a new plugin configuration format, slotted content, easier access to data, and more. 

Jared White   

[RGeo 3.0 Released: A Geospatial Data Library](https://github.com/rgeo/rgeo) — Implements the industry standard _OGC Simple Features Specification_ for representing objects like points, lines and polygons along with a set of operations. The [examples in the documentation](https://github.com/rgeo/rgeo/blob/master/doc/Examples.md) will give you an idea as to its use. 

Miscellaneous Maintainers   

- [Passenger 6.0.17](https://blog.phusion.nl/2023/01/25/passenger-6-0-17/)
 ↳ Popular app server.
- [Slim 5.0](https://github.com/slim-template/slim)
 ↳ Minimalistic template language.
- [Sidekiq-Scheduler 5.0](https://github.com/sidekiq-scheduler/sidekiq-scheduler)
 ↳ Lightweight job scheduler Sidekiq extension.
- [multipart-post 2.3](https://github.com/socketry/multipart-post)
 ↳ Streamable multipart POST capability for`Net::HTTP`
- [Consul 1.2](https://github.com/makandra/consul)
 ↳ Scope-based authorization for Rails.
- [Gemsmith 19.3](https://github.com/bkuhlmann/gemsmith)
 ↳ CLI for smithing gems.
- [Mysql2 0.5.5](https://github.com/brianmario/mysql2)
 ↳ MySQL client library.
- [Jekyll 4.3.2](https://jekyllrb.com/news/2023/01/20/jekyll-4-3-2-released/)
 ↳ Static site generator.     

Jobs  

[Remote Forever: Ruby on Rails Frontend Engineer](https://bit.ly/JLL-ruby) — We need help creating features and solving issues for our app. Join a small agile Ruby on Rails shop within a Fortune 185 company. 
JLL   

[Fully Remote, Exceptional Team Culture](http://go.ombulabs.com/9dg) — Do you love maintenance, performance and upgrades? Join a company of experts at [FastRuby.io](https://www.fastruby.io/) a service of[OmbuLabs](https://www.ombulabs.com/). 
FastRuby․IO   

[Land Your Next Rails Job Without the Hassle ✨](https://railsdevs.com/?ref=ruby-weekly) — Create your profile and have companies reach out to YOU. ❤️ Get hired on RailsDevs, the open source REVERSE job board for Rails developers. 
RailsDevs           

Curated by [Peter Cooper](https://x86.social/@cooper) and [Glenn Goodrich](https://twitter.com/ruprict).
Published by [Cooperpress](https://cooperpress.com/). 

[Change your email](https://rubyweekly.com/edit_subscription/*|UID|*) or [Stop getting this newsletter.](https://rubyweekly.com/leave/*|UID|*) 

© Cooper Press Ltd · Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom   

Other weekly newsletters we publish include [Postgres Weekly](https://postgresweekly.com/), [React Status](https://react.statuscode.com/), [Frontend Focus](https://frontendfoc.us/), and [JavaScript Weekly](https://javascriptweekly.com/).
