Search code examples
ruby-on-railsherokuspell-checkinghunspell

Using Hunspell With Heroku


I'm building a Rails app that uses Hunspell and the hunspell-ffi gem so that Ruby can interface with it. I'm deploying the app to heroku, but unfortunately it needs Hunspell to be installed on the server in order for the gem to work.

Is there any way for me to install Hunspell on Heroku? Or am I going to have to migrate to EC2?

Thanks in advance :)


Solution

  • Unless I am mistaken or something has changed (I cannot find any evidence of this), you cannot install external native libraries on Heroku. If the library is not already installed (this is the case, I think, for ImageMagick, and perhaps others), you will not be able to use the gem.