Build Fails while it successfully runs locally with Fastlane

Hi,

I am unable to build and submit the app to testflight. I am getting the following error

^D^Dchruby: unknown Ruby: 2.4.2
Warning: the running version of Bundler (1.15.1) is older than the version that created the lockfile (1.16.0). We suggest you upgrade to the latest version of Bundler by running gem install bundler.
Your Ruby version is 2.0.0, but your Gemfile specified 2.4.2
Exited with code 18

Are you using CircleCI 1.0 or 2.0?

Hi

I am using CircleCI 2.0?

If you can, just specify 2.4 on your .ruby-version

1 Like

This should work. @RahulVKasar could you give this a try?