我正在尝试按照屏幕投射并复制此处显示的博客示例:https://github.com/neo4jrb/neo4j/tree/master/example/blog
执行第一个命令,第一个错误,运行时错误,请参阅下面并告知如何正确执行:
rails new blog -m http://neo4jrb.github.com/neo4j/neo4j.rb –0
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
...
create tmp/cache
create tmp/cache/assets
create vendor/assets/javascripts
create vendor/assets/javascripts/.keep
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.keep
apply http://neo4jrb.github.com/neo4j/neo4j.rb
/Users/liviu-mac/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/open-uri.rb:231:in `open_loop': HTTP redirection loop: http://neo4jrb.io/neo4j/neo4j.rb (RuntimeError)
from /Users/liviu-mac/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/open-uri.rb:149:in `open_uri'
from /Users/liviu-mac/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/open-uri.rb:704:in `open'
from /Users/liviu-mac/.rvm/rubies/ruby-2.1.5/lib/ruby/2.1.0/open-uri.rb:34:in `open'
from /Users/liviu-mac/.rvm/gems/ruby-2.1.5/gems/thor-0.19.1/lib/thor/actions.rb:218:in `apply'
from /Users/liviu-mac/.rvm/gems/ruby-2.1.5/gems/railties-4.1.7/lib/rails/generators/app_base.rb:144:in `apply_rails_template'
答案 0 :(得分:3)
假设您正在谈论https://www.youtube.com/watch?v=bDjbqRL9HcM,您应该会在屏幕上看到1:25标记处的叠加层,其中包含新的固定地址:
rails new blog -m http://neo4jrb.io/neo4j/neo4j.rb -O
也在视频笔记中。当我们把新网站放到网上时,旧版本就破了。