无法安装rails-assets-tether

时间:2016-06-11 09:45:20

标签: ruby-on-rails ruby bootstrap-4

当我尝试安装rails-assets-tether时,出现错误。

Retrying fetcher due to error (2/4): Bundler::Fetcher::CertificateFailureError Could not verify the SSL certificate for http://rails-assets.org/.
There is a chance you are experiencing a man-in-the-middle attack, but most likely your system doesn't have the CA certificates needed for verification. For information about OpenSSL certificates, see http://------/ruby-ssl. To connect without using SSL, edit y
our Gemfile sources and change 'https' to 'http'.

这是我的Gemfile的一部分:

# Bootstrap
gem 'bootstrap', '~> 4.0.0.alpha3'
source 'https://rails-assets.org' do
  gem 'rails-assets-tether', '>= 1.1.0'
end

https更改为http并不适合我。

我使用的是Windows 10

1 个答案:

答案 0 :(得分:0)

以下是此问题的解决方案 https://gist.github.com/fnichol/867550