Install additional packages

I’m running into this same issue. I’m trying to install the twitter-text ruby gem, which depends on idn-ruby which requires the idn library, which does not seem to be installed.

On CI I install it like this: sudo apt-get install libidn11-dev

@dan How would I install the package locally? Just download the binary somewhere? I did find the code below. Any idea how I’d leverage that when using Bundler?

Alternatively, a base image for Docker + Ruby would be useful as well.

gem install --remote --test idn -- \
  --with-idn-lib=/path/to/non/standard/location/lib \
  --with-idn-include=/path/to/non/standard/location/include