Metaprogramming in Ruby: It's All About the Self (2009)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • re

    A very simple, very much in progress text editor written in Ruby. (by vidarh)

  • debug

    Debugging functionality for Ruby (by ruby)

  • I've written Ruby for coming up on 20 years, so to be honest I haven't paid attention to what is written on that subject in recent years.

    Bundler shouldn't be running inside a trap context, but you might be running into a situation where standard input/output from the actual process triggering your breakpoint has been redirected. In that case, ruby-debug[1] is a good option, as you attach to it from outside[2]. Basically, run "rdbg --open yourscript.rb" and then use rdbg -A from another terminal.

    You use Pry remotely too[3] if you prefer.

    [1] https://github.com/ruby/debug

    [2] https://github.com/ruby/debug?tab=readme-ov-file#remote-debu...

    [3] https://github.com/Mon-Ouie/pry-remote

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • pry-remote

    Connect to Pry remotely

  • I've written Ruby for coming up on 20 years, so to be honest I haven't paid attention to what is written on that subject in recent years.

    Bundler shouldn't be running inside a trap context, but you might be running into a situation where standard input/output from the actual process triggering your breakpoint has been redirected. In that case, ruby-debug[1] is a good option, as you attach to it from outside[2]. Basically, run "rdbg --open yourscript.rb" and then use rdbg -A from another terminal.

    You use Pry remotely too[3] if you prefer.

    [1] https://github.com/ruby/debug

    [2] https://github.com/ruby/debug?tab=readme-ov-file#remote-debu...

    [3] https://github.com/Mon-Ouie/pry-remote

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts