- Be less strict about the Ruby version, which resolves a build failure.
- Add libidn as a dependency (until Nanobox adds idn-ruby to the list of gems with a dependency on it).
- Remove redundant bundler commands (Nanobox's Ruby engine handles these things cleanly on its own, now).
run.config:
engine: ruby
engine.config:
- runtime: ruby-2.4.1
+ runtime: ruby-2.4
extra_packages:
# basic servers:
# for node-gyp, used in the asset compilation process:
- python-2
+ # i18n:
+ - libidn
+
cache_dirs:
- node_modules
extra_steps:
- envsubst < .env.nanobox > .env
- - gem install bundler
- - bundle config build.nokogiri --with-iconv-dir=/data/ --with-zlib-dir=/data/
- - bundle config build.nokogumbo --with-iconv-dir=/data/ --with-zlib-dir=/data/
- - bundle install --clean
- yarn
fs_watch: true