加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ruby-on-rails – 使用railsInstaller安装的Ruby on rails窗口无

发布时间:2020-12-17 01:34:25 所属栏目:百科 来源:网络整理
导读:我有一个存储在bitbucket上的现有项目,并将其克隆到我的 Windows框中. 我进入主项目目录并运行 rails server 我收到消息: Could not find rake-10.4.1 in any of the sourcesRun `bundle install` to install missing gems. 所以我运行bundle install – 响
我有一个存储在bitbucket上的现有项目,并将其克隆到我的 Windows框中.

我进入主项目目录并运行

rails server

我收到消息:

Could not find rake-10.4.1 in any of the sources
Run `bundle install` to install missing gems.

所以我运行bundle install – 响应:

DL is deprecated,please use Fiddle
Fetching gem 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.1.gem)
An error occurred while installing rake (10.4.1),and Bundler cannot continue.
Make sure that `gem install rake -v '10.4.1'` succeeds before bundling.

所以我运行命令

gem install rake -v '10.4.1'

哪个响应:

ERROR:  Could not find a valid gem 'rake' (= 10.4.1),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/specs.4.8.gz)

我读了一些其他帖子,并要求人们运行此命令:

ruby -ropenssl -e 'p OpenSSL::OPENSSL_VERSION'

哪个响应:

"OpenSSL 1.0.0o 15 Oct 2014"

请有人指导我这里有什么问题!

解决方法

对于Ruby on windows,这似乎是一个长期存在的问题.

我按照这些Windows修复说明解决了它:

https://gist.github.com/fnichol/867550

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读