Skip to content

Commit 1ca8f16

Browse files
authored
Faster nokogiri installs (heroku#103)
With https://nokogiri.org/tutorials/installing_nokogiri.html#how-can-i-avoid-using-a-precompiled-native-gem nokogiri now ships pre-compiled. By locking to the x86 platform we are telling Bundler it's okay to install a platform specific gem. This is used to download and install nokogiri without having to wait for it to compile. This will save on build time.
1 parent 9e363f3 commit 1ca8f16

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ GEM
125125
nokogiri (1.13.6)
126126
mini_portile2 (~> 2.8.0)
127127
racc (~> 1.4)
128+
nokogiri (1.13.6-x86_64-linux)
129+
racc (~> 1.4)
128130
pg (1.3.5)
129131
psych (4.0.4)
130132
stringio
@@ -205,6 +207,7 @@ GEM
205207

206208
PLATFORMS
207209
ruby
210+
x86_64-linux
208211

209212
DEPENDENCIES
210213
bootsnap

0 commit comments

Comments
 (0)