Group Group Group Group Group Group Group Group Group

Fastlane for iOS · Installing Fastlane | raywenderlich.com


This is a companion discussion topic for the original entry at https://www.raywenderlich.com/1259223-fastlane-for-ios/lessons/4

can you upload the actual video of this lesson pls?

i can’t play the video thanks

Video is missing for part 1 lesson 4

Sorry about that. I’ll alert our video team and we’ll get the video available as soon as possible. :slight_smile:

The issue with the video for Section 1 Episode 4 is now fixed!

I can’t locate the name of the Ruby profile?

I’m not positive, but I think you’re asking about the name of your Terminal profile file (per Section 1 Episode 4 > Installing Ruby of the course)?

If I have that right, then the next question is which shell you’re using. If it’s bash, then I’d look for ~/.bash_profile and then ~/.profile'.bash` looks for these in that order, executing only the first of these that it finds.

So if you find a ~/.bash_profile, for example, that’ll be your profile, and you should make the recommended changes to this file. If you don’t find this, then look for '~/.profile`.

Hope that helps! :slightly_smiling_face:

When I do gem install bundler I get You don't have write permissions for the /usr/bin directory. the same as when I do gem install fastlane. I created in my user directory ~/ a .bash_profile file with the lines
export PATH=“usr/local/opt/rby/bin:$PATH”
export PATH="/usr/local/lib/ruby/gems/2.6.0/bin:$PATH"
Do I need to give permission in a way or do sudo, or is that not the recommended way and do I need to do something else? What is happening here? Btw I’m on a separate volume with the Catalina beta installed. Maybe I should switch to my Mojave volume?

There are a lot of variables here, but let’s see if I can help…

Per this Stack Overflow post, you’re hitting a directory that’s protected by Apple’s System Integrity Protection, or simply SIP, which ensures that only privileged processes can write to certain core directories.

I’d suggest trying the advice in the SO post and check out gem install's -n option, which allows you specify directories not locked down by SIP. You can also use the sudo prefix, again as shown in the SO post example.

Hope that helps!

Hello @brian_bee!

I noticed a small typo when you define a new path for Ruby: you typed usr/local/rby/bin instead of usr/local/ruby/bin.

Thank you for the videos on Fastlane!