[英]rails showing error while starting rails server
Here i am trying to start ruby on rails server.but i am not able to start because of these following errors. 在这里,我试图在Rails server.ru上启动ruby,但是由于以下错误,我无法启动。
how can i solve this? 我该如何解决?
C:\Users\hazelnut\Desktop\wardrobe\wardrobe>rails server
Could not find gem 'tzinfo-data (>= 0) x86-mingw32' in the gems available on thi
s machine.
Run `bundle install` to install missing gems.
C:\Users\hazelnut\Desktop\wardrobe\wardrobe>bundle install
DL is deprecated, please use Fiddle
Fetching gem metadata from https://rubygems.org/............
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read
server certificate B: certificate verify failed (https://rubygems.org/gems/rake-
10.4.2.gem)
An error occurred while installing rake (10.4.2), and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.
C:\Users\hazelnut\Desktop\wardrobe\wardrobe>gem install rake
ERROR: Could not find a valid gem 'rake' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect retur
ned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (
https://api.rubygems.org/latest_specs.4.8.gz)
I think this is a common SSL issue. 我认为这是一个常见的SSL问题。
Please see the error message: 请查看错误消息:
certificate verify failed 证书验证失败
The error message is because your system needs a new SSL certificate. 该错误消息是因为您的系统需要新的SSL证书。
Here's information about it: 这是关于它的信息:
http://railsapps.github.io/openssl-certificate-verify-failed.html http://railsapps.github.io/openssl-certificate-verify-failed.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.