При попытке создать новый проект rails 5 я получаю сообщение об ошибке типа
OpenSSL::X509::StoreError: system lib
...
...
### Gemfile.lock
```
<No /home/shruthi/Projects/VSupport/Gemfile.lock found>
```
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=system+lib&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new
run bundle exec spring binstub --all
* bin/rake: spring inserted
* bin/rails: spring inserted
Мой список rvm похож на
ruby-2.3.1 [ x86_64 ]
=* ruby-2.5.1 [ x86_64 ]
При попытке решить эту проблему с помощью ruby -ropenssl -e 'puts OpenSSL::X509::DEFAULT_CERT_FILE' вывод будет похож на /usr/lib/ssl/cert.pem.
Файлы сертификата моей системы (имя) - Fortinet_CA_SSL.crt и Fortinet_CA_SSLProxy.crt.
Как решить эту ошибку сертификата?





В файл ~/.bundle/config добавьте BUNDLE_SSL_CA_CERT: "/usr/local/share/ca-certificates/Fortinet/Fortinet_CA_SSLProxy.crt" и перезагрузите систему.
Подробнее см. https://bundler.io/v1.16/bundle_config.html.