Rails新的SampleApp在运行捆绑安装后永久挂起

时间:2015-03-14 09:46:54

标签: ruby-on-rails ruby ruby-on-rails-3.2

创建新的示例项目时,My Rails New Sample会永久挂起,并且不会向我发送控件。

在按 Cntrl + C 时,它会要求终止批处理作业......

我是ruby On Rails的新手....请帮忙

C:\Sites>rails new MySample2
DL is deprecated, please use Fiddle
      create
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/views/layouts/application.html.erb
      create  app/assets/images/.keep
      create  app/mailers/.keep
      create  app/models/.keep
      create  app/controllers/concerns/.keep
      create  app/models/concerns/.keep
      create  bin
      create  bin/bundle
      create  bin/rails
      create  bin/rake
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/secrets.yml
      '
      ' 
      ' 
      And So on....at the end its showls like

      create  vendor/assets/stylesheets/.keep
         run bundle install
      DL is deprecated,please use fiddle

1 个答案:

答案 0 :(得分:0)

看起来捆绑商无法下载宝石。添加此配置

git config --global url."https://".insteadOf git://

它将任何git:// ..源代码改为https://