Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Public - Buildpack for bringing the ICU library into a heroku dyno.

License

Notifications You must be signed in to change notification settings

generalassembly/heroku-icu-buildpack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Heroku ICU Buildpack

May 27th 2021: no longer used by any apps

A buildpack for including the ICU library into a Heroku dyno. This is required as a dependency for several tools.

How it works

This buildpack makes ICU4C available in the /app/icu directory for both compilation and runtime uses. The primary purpose of this is to allow Charlock Holmes (a Ruby gem for encoding heuristics) to run on Heroku.

In order to achieve this, the following happens:

  1. ICU is downloaded and compiled from source
  2. The compiled library is cached for future builds
  3. The compiled result is copied into /app/icu and $1/icu (the build directory) to make it available in a seemingly consistent location during both compilation and runtime
  4. A Bundler config option is exported to the rest of the compilation process to ensure Charlock Holmes looks for ICU in the correct place.

About

Public - Buildpack for bringing the ICU library into a heroku dyno.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages