Subprocesses Part 9: Exec
Learn Ruby’s `exec` method by building a tool that starts project-specific Apache instances
Learn Ruby’s `exec` method by building a tool that starts project-specific Apache instances
Starting processes is one thing. Keeping track of them after they’ve started is another.
In today’s episode, we put together several of the small bits of Ruby lore we’ve learned in order to build a simple and pragmatic mail templating system.
Last time around we introduced the Queue class. In this episode, we’ll put it to work!
In another peek into my ongoing behind-the-scenes work on RubyTapas, today I extract the responsibility for representing a logged-in screen-scraping user-agent session into its own class.
This episode takes a look at how to use the Nokogiri gem to extract data from large HTML documents without reading the whole document into memory.
Finishing up my list of TODO items, today I address some structural coupling that my test stubs have revealed. This is a live episode, so no script today.
Note: This week RubyTapas moves to its new release schedule of two episodes a week. I’ve already sent out an update detailing the reason for the change, but for those who have disabled email updates, I’ve also added a note to the FAQ here: https://rubytapas.com/faq#frequency-change Working through my TODO list from the recent feature additions, in today’s episode I seek to resolve the semantic conflict between User and GemUser through refactoring. This is a live episode, so no script today. Code here: https://github.com/avdi/gem-love/tree/rubytapas-episode-102
Today’s episode tackles the problem of talking to a web app which has no published API, using the Mechanize screen-scraping gem. In the process, we’ll explore the Gateway pattern for encapsulating external resources.
In today’s concluding slice of this live-coding session, I wrap up my work on adding users to Gem-Love by TDDing the server side support for API keys. This is a live episode, so no script today. Source: https://github.com/avdi/gem-love/tree/rubytapas-095