Skip to content

Commit d536a68

Browse files
committed
Config RubyGems Bundler in setup script
- add to 'setup' script (DevEx, iOS CI) - skip RubyGems Bundler config on Ubuntu Ref: react-native-community/template#209
1 parent d1c759f commit d536a68

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

β€Ž.github/workflows/android.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
# node_modules cache
4343

4444
- name: Install deps and setup
45-
run: yarn && yarn setup
45+
run: yarn && yarn allow-scripts # no need to 'setup' RubyGems Bundler config
4646

4747
- name: npx react-native info
4848
run: npx react-native info

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
6-
"setup": "allow-scripts",
6+
"setup": "allow-scripts && yarn setup:gems",
77
"setup:gems": "bundle config set --local path 'vendor/bundle' && bundle config set --local force_ruby_platform true",
88
"allow:auto": "allow-scripts auto",
99
"start": "react-native start",

0 commit comments

Comments
Β (0)