Skip to content

Error running :native on Heroku #22

Description

@kylekrzeski

I'm trying to run the fuzzy-string-match gem on Heroku (i.e. using FuzzyStringMatch::JaroWinkler.create(:native)), but getting this error:

2021-01-17T03:06:51.820943+00:00 app[web.1]: gcc: fatal error: cannot execute ‘cc1plus’: execvp: No such file or directory
2021-01-17T03:06:51.821010+00:00 app[web.1]: compilation terminated.
2021-01-17T03:06:51.822225+00:00 app[web.1]: fuzzy-string-match Warning: fallback into pure version, because compile failed.

I'm not running into this issue when running locally. Running with :pure is not really an option since it's incredibly slow for what I'm doing. Has anyone been able to use :native on Heroku, and if so how?

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