Ruby error tracking installation
Add the PostHog Ruby gem to your Gemfile: Initialize the PostHog client with your API key and host: Once installed, you can manually send events to test your integration: Note: The Ruby SDK currently only supports manual exception capture. Automatic exception capture is not yet available. To capture exceptions in your Ruby application, use the The Install the gem
RequiredConfigure PostHog
RequiredSend events
RecommendedManually capture exceptions
Requiredcapture_exception method:capture_exception method accepts the following parameters:Param Type Description exceptionExceptionThe exception object to capture (required) distinct_idStringThe distinct ID of the user (optional) propertiesHashAdditional properties to attach to the exception event (optional)

