Skip to content

Commit 39def74

Browse files
committed
Update gems:frozen script to use env var
- avoid side effect deploy mode persistant config Ref: react-native-community/template#209
1 parent 6fefea1 commit 39def74

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"android:prod": "yarn gradle:clean && react-native run-android --mode release",
1515
"gradle:clean": "cd android && ./gradlew clean",
1616
"gems": "bundle check || bundle install",
17-
"gems:frozen": "bundle config set --local deployment true && bundle install",
17+
"gems:frozen": "BUNDLE_DEPLOYMENT=true bundle install",
1818
"pods": "cd ios && bundle exec pod install",
1919
"pods:frozen": "cd ios && bundle exec pod install --deployment",
2020
"pods:clean": "rm -rf ios/Pods && cd ios && bundle exec pod install",

0 commit comments

Comments
 (0)