命令出错:' rails new"项目名称"'

时间:2015-06-05 08:36:38

标签: ruby windows ruby-on-rails-3

DL is deprecated, please use Fiddle
Fetching gem metadata from ............
Fetching additional metadata from 
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.

1 个答案:

答案 0 :(得分:2)

我有同样的问题,我通过升级到最新版本来解决它,

  1. rubygems

  2. 下载最新的rubygems个软件包
  3. 按照D:\Ruby\RubyGems

  4. 等特定路径打开包装
  5. 按照此Win + R, cmd , Enter
  6. 打开命令行
  7. 转到您解压缩rubygems包裹的直接地址:cd D:\Ruby\RubyGems

  8. 运行ruby setup.rb

  9. 让我知道它是否能解决您的问题。