0

I just switched to React Native from React and followed instructions on official site for creating and initialization project. I'm not using Expo, created project with npx and typescript template. When I opened project there was ruby-version and Gemfile files inside. I cannot find any documentation on website about Gemfile and why is ruby necessary in project creation, anyone got some more info or some docs that I missed on site? Thanks.

1
  • 2
    Using react native we can do iOS development. So, for ios we need cocoapods, for using cocoapods we need ruby and this Gemfile over there. Commented Sep 29, 2022 at 12:41

1 Answer 1

1

Your simple answer is for iOS Development.

Using react native we can do iOS development. So, for ios we need cocoapods, for using cocoapods we need ruby and this Gemfile over there.

Sign up to request clarification or add additional context in comments.

2 Comments

I saw some project before that didn't have ruby files in root directory so when I saw it was different, but thanks so much for info. Do you know is it safe to rename index.js and App.js into .tsx files? In React when you create project with typescript template those file are automatically typescript, but in native those were created as js. Do you know the reason?
yes, It is safe @Freezy

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.