我无法通过这个,已经多次重建存储库,使ssh键完成
--------------
demo_app <username>$ git remote add origin git@github.com:<username>/demo_app.git
fatal: remote origin already exists.
$ git push -u origin master
---
ssh: Could not resolve hostname git: nodename nor servname provided, or not known
---
fatal: Could not read from remote repository.
---
Please make sure you have the correct access rights
---
and the repository exists.
----------
---------
Checked ssh keys
---
$ ssh -T git@github.com
Hi <username>! You've successfully authenticated, but GitHub does not provide shell access.
--- …Run Code Online (Sandbox Code Playgroud) 为什么不是第二个命令
$ bundle install
Run Code Online (Sandbox Code Playgroud)
不需要
--without production
Run Code Online (Sandbox Code Playgroud)
(因为这是它在教程中的用法,所以我认为它是正确的)不需要它背后发生了什么/推理?
来自http://ruby.railstutorial.org/chapters/a-demo-app#sec-demo_users_resource
$ bundle install --without production
$ bundle update
$ bundle install
Run Code Online (Sandbox Code Playgroud)