+------+-------------------------------------+-------------+
| fastlane summary |
+------+-------------------------------------+-------------+
| Step | Action | Time (in s) |
+------+-------------------------------------+-------------+
| 1 | Verifying required fastlane version | 0 |
| 2 | default_platform | 0 |
| 💥 | sigh | 17 |
+------+-------------------------------------+-------------+
ERROR [2016-11-03 23:29:58.05]: fastlane finished with errors
ERROR [2016-11-03 23:29:58.06]: -----------------------------------------------------------------------
ERROR [2016-11-03 23:29:58.06]: Connection reset by peer - SSL_connect
ERROR [2016-11-03 23:29:58.06]:
ERROR [2016-11-03 23:29:58.06]: SSL errors can be caused by various components on your local machine.
ERROR [2016-11-03 23:29:58.06]: Apple has recently changed their servers to require TLS 1.2, which may
ERROR [2016-11-03 23:29:58.06]: not be available to your system installed Ruby (2.0.0)
ERROR [2016-11-03 23:29:58.06]:
ERROR [2016-11-03 23:29:58.06]: The best solution is to install a new version of Ruby
ERROR [2016-11-03 23:29:58.06]:
ERROR [2016-11-03 23:29:58.06]: - Make sure OpenSSL is installed with Homebrew: `brew update && brew upgrade openssl`
ERROR [2016-11-03 23:29:58.06]: - If you use system Ruby:
ERROR [2016-11-03 23:29:58.06]: - Run `brew update && brew install ruby`
ERROR [2016-11-03 23:29:58.06]: - If you use rbenv with ruby-build:
ERROR [2016-11-03 23:29:58.06]: - Run `brew update && brew upgrade ruby-build && rbenv install ruby-2.3.1`
ERROR [2016-11-03 23:29:58.06]: - Run `rbenv global ruby-2.3.1` to make it the new global default Ruby version
ERROR [2016-11-03 23:29:58.06]: - If you use rvm:
ERROR [2016-11-03 23:29:58.06]: - First run `rvm osx-ssl-certs update all`
ERROR [2016-11-03 23:29:58.06]: - Then run `rvm reinstall ruby-2.3.1 --with-openssl-dir=/usr/local
ERROR [2016-11-03 23:29:58.06]:
ERROR [2016-11-03 23:29:58.06]: If that doesn't fix your issue, please google for the following error message:
ERROR [2016-11-03 23:29:58.06]: 'Connection reset by peer - SSL_connect'
ERROR [2016-11-03 23:29:58.06]: -----------------------------------------------------------------------
bundler: failed to load command: fastlane (/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/bin/fastlane)
Faraday::ConnectionFailed: [!] Connection reset by peer - SSL_connect
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `block in connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/timeout.rb:66:in `timeout'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:921:in `connect'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:862:in `do_start'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:851:in `start'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1373:in `request'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:82:in `perform_request'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:40:in `block in call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:87:in `with_net_http_connection'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/adapter/net_http.rb:32:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-cookie_jar-0.0.6/lib/faraday/cookie_jar.rb:22:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday_middleware-0.10.0/lib/faraday_middleware/response_middleware.rb:30:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/faraday-0.9.2/lib/faraday/connection.rb:177:in `post'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:445:in `block in send_request'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:347:in `with_retry'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:444:in `send_request'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/client.rb:385:in `request'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/portal/portal_client.rb:333:in `provisioning_profile_details'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/portal/provisioning_profile.rb:459:in `fetch_details'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/portal/provisioning_profile.rb:427:in `devices'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/spaceship-0.36.2/lib/spaceship/portal/provisioning_profile.rb:451:in `is_adhoc?'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/sigh-1.11.2/lib/sigh/runner.rb:94:in `block in fetch_profiles'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/sigh-1.11.2/lib/sigh/runner.rb:92:in `each'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/sigh-1.11.2/lib/sigh/runner.rb:92:in `find_all'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/sigh-1.11.2/lib/sigh/runner.rb:92:in `fetch_profiles'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/sigh-1.11.2/lib/sigh/runner.rb:20:in `run'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/sigh-1.11.2/lib/sigh/manager.rb:7:in `start'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/actions/sigh.rb:20:in `run'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:202:in `block (2 levels) in execute_action'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:187:in `block in execute_action'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `chdir'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:186:in `execute_action'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:112:in `trigger_action_by_name'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/fast_file.rb:140:in `method_missing'
Fastfile:7:in `block (2 levels) in parsing_binding'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane.rb:33:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:49:in `block in execute'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `chdir'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/runner.rb:45:in `execute'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/lane_manager.rb:52:in `cruise_lane'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/command_line_handler.rb:30:in `handle'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:52:in `block (2 levels) in run'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane_core-0.53.0/lib/fastlane_core/ui/fastlane_runner.rb:38:in `run!'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:246:in `run'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/commands_generator.rb:23:in `start'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/lib/fastlane/cli_tools_distributor.rb:58:in `take_off'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/gems/fastlane-1.106.2/bin/fastlane:5:in `<top (required)>'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/bin/fastlane:23:in `load'
/Users/distiller/project_name/vendor/bundle/ruby/2.0.0/bin/fastlane:23:in `<top (required)>'
bundle exec fastlane adhoc --verbose returned exit code 1
Action failed: bundle exec fastlane adhoc --verbose
brewでrubyを入れたいも、brew linkでエラーが出てしまう。
ebenvでrubyを入れるより早く入るからbrewを使いたいがlinkエラーをどうするか。
$ brew install ruby
==> Downloading https://homebrew.bintray.com/bottles/ruby-2.3.1_2.el_capitan.bottle.tar.gz
######################################################################## 100.0%
==> Pouring ruby-2.3.1_2.el_capitan.bottle.tar.gz
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink bin/rake
Target /usr/local/bin/rake
already exists. You may want to remove it:
rm '/usr/local/bin/rake'
To force the link and overwrite all conflicting files:
brew link --overwrite ruby
To list all files that would be deleted:
brew link --overwrite --dry-run ruby
Possible conflicting files are:
/usr/local/bin/rake
/usr/local/bin/rdoc
/usr/local/bin/ri
==> Using the sandbox
==> Caveats
Emacs Lisp files have been installed to:
/usr/local/share/emacs/site-lisp/ruby
==> Summary
🍺 /usr/local/Cellar/ruby/2.3.1_2: 1,261 files, 18.8M
linkできない理由をrmしてみたけど、これはこれでちょっと違う気がする。
brew install中のlinkをlink --overwriteしてくれるオプション無いかな。
circle.yml
dependencies:
pre:
- rm -f '/usr/local/bin/rake' '/usr/local/bin/rdoc' '/usr/local/bin/ri'
- brew update && brew install ruby
- source ~/.bash_profile
- gem install bundler