Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 5bf4838

Browse files
danhunsakerGargron
authored andcommitted
[nanobox] Minor tweaks for 1.5 (mastodon#4395)
- 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).
1 parent bdf573d commit 5bf4838

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

boxfile.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
run.config:
22
engine: ruby
33
engine.config:
4-
runtime: ruby-2.4.1
4+
runtime: ruby-2.4
55

66
extra_packages:
77
# basic servers:
@@ -20,6 +20,9 @@ run.config:
2020
# for node-gyp, used in the asset compilation process:
2121
- python-2
2222

23+
# i18n:
24+
- libidn
25+
2326
cache_dirs:
2427
- node_modules
2528

@@ -35,10 +38,6 @@ run.config:
3538

3639
extra_steps:
3740
- envsubst < .env.nanobox > .env
38-
- gem install bundler
39-
- bundle config build.nokogiri --with-iconv-dir=/data/ --with-zlib-dir=/data/
40-
- bundle config build.nokogumbo --with-iconv-dir=/data/ --with-zlib-dir=/data/
41-
- bundle install --clean
4241
- yarn
4342

4443
fs_watch: true

0 commit comments

Comments
 (0)