Fastlane error message "Could not check if 'fastlane' is up to date."

ios
fastlane

#1

Here is my circle.yml

machine:
environment:
XCODE_SCHEME: BanditTheCat
xcode:
version: 7.3
dependencies:
pre:
- bundle check --path=vendor/bundle || bundle install --path=vendor/bundle --jobs=4 --retry=3
- bundle exec fastlane init
test:
override:
- bundle exec fastlane ci_build

and here is the error message:

bundle exec fastlane init
ERROR [2016-06-21 15:53:21.42]: Could not check if ‘fastlane’ is up to date.
bundler: failed to load command: fastlane (/Users/distiller/bandit-the-cat-ios-fastlane-example/vendor/bundle/ruby/2.0.0/bin/fastlane)
RuntimeError: Fastlane already set up at path ./fastlane/

It is shown above that fastlane is installed by the gemfile.

I don’t know why I’m getting the error message, have searched the internet and have had no luck.

Any help would be appreciated.


#2

remove bundle exec from calls


#3

This is not correct, according to circle ci support.


#4