In this episode, we discover the safe way to optionally enable features if a gem is installed.
Today we discuss the downsides of using require_relative, and explore a more robust way to handle code loading within projects and libraries.
Today our ongoing series on loading code brings us to the topic of loading features relative to the current file.
In this episode we dig into RubyGems in order to understand how it augments Ruby's built-in code loading mechanisms.
As we continue to talk about the process of loading code in Ruby, today we look at how requiring features differs from loading files.
As we continue our exploration of how code is loaded into Ruby processes, today we take a look at a technique for running an external script inline without polluting the …
Today's episode kicks off a little series on loading code in Ruby. To start off, we'll look at what it would take to recreate Ruby's logic for locating code files …