]> cat aescling's git repositories - mastodon.git/commitdiff
[nanobox] Minor tweaks for 1.5 (#4395)
authorDaniel Hunsaker <danhunsaker@gmail.com>
Thu, 27 Jul 2017 13:13:32 +0000 (07:13 -0600)
committerEugen Rochko <eugen@zeonfederated.com>
Thu, 27 Jul 2017 13:13:32 +0000 (15:13 +0200)
- 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).

boxfile.yml

index 3302231109e1a6a2b026656c369bded530cffe8f..59a66d87bcaff663e56e94bccdf049d3ced0bd19 100644 (file)
@@ -1,7 +1,7 @@
 run.config:
   engine: ruby
   engine.config:
-    runtime: ruby-2.4.1
+    runtime: ruby-2.4
 
   extra_packages:
     # basic servers:
@@ -20,6 +20,9 @@ run.config:
     # for node-gyp, used in the asset compilation process:
     - python-2
 
+    # i18n:
+    - libidn
+
   cache_dirs:
     - node_modules
 
@@ -35,10 +38,6 @@ run.config:
 
   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