---
title: "RubyGems' answer to npx"
publication: "Ruby Weekly"
issue: 644
published_at: "2023-03-09"
canonical_url: "https://rubyweekly.com/issues/644"
---

Plus a look back at RailsCasts, debugging a time related bug, and a way to interrupt and resume Sidekiq jobs. |        

#​644 — March 9, 2023 

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

Together with [![AppSignal logo\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,e_trim,w_700,h_120/e_make_transparent/co_white,e_outline:7/lme8p344dw1aodshz9px.png)](https://blog.appsignal.com/2023/03/01/making-the-most-of-your-logs-in-rails.html?utm_source=ruby-weekly-sponsored&utm_medium=email&utm_campaign=2023-03-01)  

Ruby Weekly 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/u6moa41xrvje9lu1wmze.jpg)](https://github.com/ruby/ruby/pull/7448)  

[RJIT: A _Pure Ruby_ JIT Solution](https://github.com/ruby/ruby/pull/7448) — A mixed bag of results performance wise, but seeing a core Ruby team member take another approach to JIT is always exciting. This (merged) PR has many benchmarks where RJIT outperforms MJIT across the board and the [Rust-based (and already production ready) YJIT](https://shopify.engineering/ruby-yjit-is-production-ready) in some cases. Seems like Ruby is still getting JITty with it… 

Takashi Kokubun   

If you want to learn about this stuff from basics, Aaron 'tenderlove' Patterson gave a talk at RubyConf 2021 about [▶️ how JIT compilers work and making one for Ruby.](https://www.youtube.com/watch?v=4vDfegrjUtQ) He also stepped in on Hacker News to [answer some questions](https://news.ycombinator.com/item?id=35074631) about Ruby JIT performance. JITing Ruby is _hard_ due to its dynamic nature.  

[RubyGems Gets (Experimental) `gem exec` Command](https://github.com/rubygems/rubygems/pull/6309) — [RubyGems 3.4.8](https://blog.rubygems.org/2023/03/08/3.4.8-released.html) has been released with an interesting new experimental feature – the ability to run executables from gems that may _or may not_ be installed. Reminds me of npm's handy `npx` tool in the Node world. 

RubyGems   [![\](https://copm.s3.amazonaws.com/bce6ac80.png)](https://blog.appsignal.com/2023/03/01/making-the-most-of-your-logs-in-rails.html?utm_source=ruby-weekly-sponsored&utm_medium=email&utm_campaign=2023-03-01) 

[Making the Most of Your Logs in Rails](https://blog.appsignal.com/2023/03/01/making-the-most-of-your-logs-in-rails.html?utm_source=ruby-weekly-sponsored&utm_medium=email&utm_campaign=2023-03-01) — It's easy to get going with logging with Rails, but not so easy to master it. Discover how you can get the most from your logs. 

AppSignal sponsor    

[A Retrospective on RailsCasts](https://rbates.dev/railscasts-retrospective-part-1-the-fuel) — The creator of [RailsCasts](http://railscasts.com/) (a very popular screencast and educational site in the Ruby/Rails space 10+ years ago) has started a three-part series digging into the story of how it all began. 

Ryan Bates   

▶[Deploying with MRSK](https://www.driftingruby.com/episodes/deploying-with-mrsk) — We linked to DHH’s post about his new container-driven deployment tool last week and now David Kumura has put together a screencast on using it to deploy a Rails app to Digital Ocean, complete with database and load balancer. David focuses on the practicalities but also shares his thoughts on when you might want to use it. 

Drifting Ruby   

**QUICK BITS** 

- As a bit of a 'scripter', I've used this trick a few times, but in case you didn't know, you can [use Bundler directly in a Ruby script](https://dev.to/notgrm/use-bundler-in-a-ruby-script-2dpn) without a separate Gemfile.
- The [latest official Rails weekly roundup](https://rubyonrails.org/2023/3/3/this-week-in-rails-first-edition-of-march) covers a wide variety of changes.
- If you fancy a quick challenge, try [this ten question quiz on Ruby arrays.](https://www.vector-logic.com/blog/posts/test-yourself-on-ruby-array-operations)
- 📅 The 10th edition of the Italian [RubyDay conference](https://2023.rubyday.it/) is taking place in Verona this June.
- 🏆 Congratulations to Matt Valentine-House for [🐦 becoming the newest Ruby committer.](https://twitter.com/eightbitraptor/status/1633770565029822464)  

📕 Tutorials and Articles 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/ze41lztglbyn4yghgxar.jpg)](https://alextaylor.ca/read/adventures-in-time-debugging-a-daylight-saving-bug/)  

[Debugging a Daylight Saving Bug](https://alextaylor.ca/read/adventures-in-time-debugging-a-daylight-saving-bug/) — What’s more fun than an average bug? Bugs involving daylight savings time! If the [falsehoods programmers believe about time](https://gist.github.com/timvisee/fcda9bbdff88d45cc9061606b4b923ca) didn’t already drive you to a different career, you might enjoy this tale of hunting down a quirk when manipulating times in a Rails app. There's more about the matter in [this Rails pull request.](https://github.com/rails/rails/pull/46251) 

Alex Taylor   

[A New Way to Work with 'Front Matter' in Ruby](https://hanamimastery.com/episodes/42-front-matter-parser) — ‘Front matter’ is the term used to describe the metadata you might find at the top of a file (such as a Markdown page in Jekyll, say). Seb introduces us to [FrontMatterParser](https://github.com/waiting-for-dev/front_matter_parser), a gem for parsing such metadata. 

Seb Wilgosz (Hanami Mastery)   

[Crunchy Bridge - What You Always Wanted from a Postgres Provider](https://crunchybridge.com/start?utm_source=rb-brf-0309) — We'll keep your DB running, safe, and secure. We're experts in Postgres and when you have questions, we love to help. 

Crunchy Bridge sponsor   

▶[Discussing Rails Code Organization with Jorge Manrubia of 37signals](https://www.youtube.com/watch?v=qdOXtWxy33U) — A livestream discussion around organizing Rails code, particularly around how you don’t need any extra constructs like service objects or Interactors in order to keep things organized. 

Jason Swett   

[How to Find, Debug and Fix N+1 Queries in Rails](https://pawelurbanek.com/rails-debug-queries) — Fixing N+1 issues is often the lowest-hanging fruit in optimizing a Rails app’s performance. 

Paweł Urbanek   

▶[Dicussing Developing Video Games in Ruby](https://topenddevs.com/podcasts/ruby-rogues/episodes/developing-video-games-with-ruby-and-dragonruby-ruby-585) — A chat with Brett Chalupa of _[Building Games with DragonRuby](https://book.dragonriders.community/)_ fame. 

Ruby Rogues podcast   

[How to Install Ruby 3.2.1 with YJIT on macOS](https://blog.driftingruby.com/articles/2023/03/04/ruby-with-yjit.html) 
Dave Kimura   

[Making the Most of Your Logs in Rails](https://blog.appsignal.com/2023/03/01/making-the-most-of-your-logs-in-rails.html) 
Hans-Jörg Schnedlitz   

[Configuring Rails Environments](https://www.akshaykhot.com/configuring-rails-environments/) 
Akshay Khot   

▶[The State of Rails Hiring in 2023](https://www.therubyonrailspodcast.com/460) 
The Ruby on Rails Podcast  

🛠 Code & Tools  

[JRuby 9.4.2.0 Released](https://www.jruby.org/2023/03/08/jruby-9-4-2-0.html) — v9.4 is the Ruby 3.1-oriented branch of the JVM-oriented Ruby implementation; v9.4.2.0 fixes numerous bugs and updates some dependencies. 

JRuby Core Team   

[Extralite: An Extra-Lightweight Gem for Working with SQLite3](https://github.com/digital-fabric/extralite) — An alternative (and faster) SQLite 3 wrapper for Ruby that comes in two flavors: one that uses a system installed SQLite 3 and one that bundles 3.40.1 instead. 

Sharon Rosner   

[Fixed Price Monthly CodeCare, Maintenance and Upgrades for Rails Apps](https://reinteractive.com/service/code-care) 

REINTERACTIVE PTY LTD sponsor   

[SimpleXlsxReader: Fast Excel/Open XML Spreadsheet Reader](https://github.com/woahdae/simple_xlsx_reader) — XLSX is a format commonly associated with Excel. This library sticks to the basics of reading them quickly. 

Woody Peterson   

[Sidekiq Iteration: Make Long-Running Sidekiq Jobs Interruptible and Resumable](https://github.com/fatkodima/sidekiq-iteration) — As [job-iteration](https://github.com/Shopify/job-iteration) is for ActiveJob, this is for Sidekiq directly. 

Dima Fatko   

[TableInspector: Print a Text Table of an AR Model's Schema](https://github.com/otorain/table_inspector) — e.g. `TableInspector.scan User` will return a table of `User`'s columns and indexes. 

Ian Lynx   

[MaintenanceTasks 2.1: Rails Engine for Managing Maintenance Tasks](https://github.com/Shopify/maintenance_tasks) — A Rails engine for queuing and managing maintenance tasks to be run through Active Job. 

Shopify   

[Rux: A JSX-Inspired Way to Render View Components in Ruby](https://github.com/camertron/rux) — If you’re a fan of the React approach of including templates directly within normal code, this might intrigue you. There’s [rux-rails](https://github.com/camertron/rux-rails) to take it into Rails, too. 

Cameron Dutro   

[Don’t Let Your Issue Tracker Be a Four-Letter Word. Use Shortcut](https://shortcut.com/?utm_source=cooperRubyWeekly&utm_medium=spon_nl&utm_campaign=prospecting&utm_content=fourletter) 

Shortcut (formerly Clubhouse.io) sponsor   

- [AnyCable 1.3](https://anycable.io/)
 ↳ Now with embedded NATS support.
- [RubyMine 2023.1 Beta](https://blog.jetbrains.com/ruby/2023/03/rubymine-2023-1-beta/)
 ↳ Popular commercial Ruby IDE.
- [CanCanCan 3.5](https://github.com/CanCanCommunity/cancancan)
 ↳ Authorization library.
- [Phlex 1.6](https://github.com/joeldrapper/phlex)
 ↳ Build object-oriented views in Ruby.
- [RubyGems 3.4.8](https://blog.rubygems.org/2023/03/08/3.4.8-released.html)    

Jobs  

[Software Engineer (Backend)](https://jobs.ashbyhq.com/stickermule/477eed3e-4aae-46e6-a8ab-0646dbfb11cd?utm_source=Cooperpress) — Join our "kick ass" team. Our software team operates from 17 countries and we're always looking for more exceptional engineers. 
Sticker Mule   

[Senior Backend Engineer (Remote - EMEA)](https://booqable.com/careers/backend-developer/) — Booqable prides itself on being a global company with team members working together from across the world. We are remote-first, so you can join us from wherever you are. 
Booqable   

[Find Ruby Jobs with Hired](https://hired.com/join/?utm_source=newsletter&utm_medium=sponsor&utm_campaign=%28b2c%29%28l-all%29%28r-all%29%28cooper-rubyweekly%29&utm_content=easy-job-hunting) — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now. 
Hired           

Curated by [Peter Cooper](https://twitter.com/cooperx86) 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/).
