Articles on Ruby

2 years ago

  • Debugging a Stuck or Slow Ruby Program

    When a Ruby program doesn't crash but hangs indefinitely or becomes very slow, it can be difficult to debug. Add a sampling profiler to see where the program hangs or slows down.

3 years ago

  • Ruby Shebang Directives in Binstubs

    A binstub with a bad “shebang” line can cause your application to function improperly. This article explains binstubs, shebang lines, and the common errors that come from improperly generated binstubs.

4 years ago

  • H12 - Request Timeout in Ruby (MRI)

    H12 errors are especially difficult. They can be equally caused by a lack of throughput capacity (need to add more dynos), an extremely long-running request or requests that back up others, or some shared resource like a database receiving higher

7 years ago