Skip to content

Show a more helpful error when ffmpeg is missing #20

Description

@philc

Without ffmpeg installed, this is what is shown:

speech/audio_inspector.rb:55:ininitialize': undefined method first' for nil:NilClass (NoMethodError)

I know the readme says install ffmpeg, but this error can be made more friendly. A good practice is to assert up front that all binaries that your program depends on are present.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions