Build Fails while it successfully runs locally with Fastlane

ios

#1

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


#2

Are you using CircleCI 1.0 or 2.0?


#3

Hi

I am using CircleCI 2.0?


#4

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


#5

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


#6