I've updated to Ruby 2.5.5 via rvm
but I continue to get warnings from Fastlane. For context, I'm building an iOS app on Max OSX and I installed Fastlane via homebrew, brew cask install fastlane
. I searched online and in the github repo for Fastlane, but couldn't really find a solution.
$ ruby -v
ruby 2.5.5p157 (2019-03-15 revision 67260) [x86_64-darwin18]
And here is the Fastlane output
There is a ruby 2.2.4 located here, which I am presuming Fastlane is using, but it's not clear to me what the proper way to upgrade this is or if there is some environment variable I can set so that Fastlane picks up the newer version.
~/.fastlane/bin/bundle/bin/ruby -v
ruby 2.2.4p230 (2015-12-16 revision 53155) [x86_64-darwin15]
How can I get Fastlane to pick up the right version of Ruby?
Alternatively, are these warnings safe to ignore?
EDIT:
Here is my fastlane env
stack
| --------------------------- | ------------------------------------------- |
| OS | 10.14.6 |
| Ruby | 2.2.4 |
| Bundler? | false |
| Git | git version 2.22.0 |
| Installation Source | ~/.fastlane/bin/bundle/bin/fastlane |
| Host | Mac OS X 10.14.6 (18G87) |
| Ruby Lib Dir | ~/.fastlane/bin/bundle/lib |
| OpenSSL Version | OpenSSL 1.0.2g 1 Mar 2016 |
| Is contained | false |
| Is homebrew | true |
| Is installed via Fabric.app | false |
| Xcode Path | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version | 10.3 |