Reputation: 103
I'm new to mobile apps and to phonegap. But in the tutorials, they ask you to install cocoapods using a command function:
$ sudo gem install cocoapods
but this is a linux command and not a window one. and i can't find a way to install it on window. Can anyone guide me please to the right track. thanks
Upvotes: 3
Views: 8870
Reputation: 1921
You just need to install ruby, which you can download from here: https://rubyinstaller.org/
Then you can use gem
to run ruby-cli command, therefore you can run gem install cocoapods
, you don't need sudo
, that is only to run it as administrator in linux, but on windows you can just run the cmd as administrator, from the right click menu.
Upvotes: 7