Skip to content

Commit 8951256

Browse files
committed
fix: make sure pip is installed
pip doesn't come by default on the Mac so we make sure it's installed in order to be able to install `six` on the next step
1 parent 031ebd3 commit 8951256

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

native-script.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,8 @@ def install_environment_variable(name, value)
136136
# For more information see: https://github.com/CocoaPods/Xcodeproj/pull/393#issuecomment-231055159
137137
install("CocoaPods", "Installing CocoaPods... This might take some time, please, be patient.", 'gem install cocoapods -V', true)
138138
install("CocoaPods", "Setup CocoaPods... This might take some time, please, be patient.", 'pod setup', false)
139-
install("six", "'six' python package... This might take some time, please, be patient.", 'pip install six', false)
139+
install("pip", "Installing pip... This might take some time, please, be patient.", 'easy_install pip', true)
140+
install("six", "Installing 'six' python package... This might take some time, please, be patient.", 'pip install six', false)
140141
install("xcodeproj", "Installing xcodeproj... This might take some time, please, be patient.", 'gem install xcodeproj -V', true)
141142

142143
puts "Configuring your system for Android development... This might take some time, please, be patient."

0 commit comments

Comments
 (0)