小编ali*_*cht的帖子

GitHub错误 - "ssh:连接到主机github.com端口22:操作超时致命:无法从远程存储库读取."

我想把我的电脑仓库推到GitHub.我设置了远程原点

git remote add origin git@github.com:alicht/tweetanuber.git
Run Code Online (Sandbox Code Playgroud)

然后在我尝试推送到GitHub之后

git push -u origin master
Run Code Online (Sandbox Code Playgroud)

我遇到了这个错误:

ssh: connect to host github.com port 22: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Run Code Online (Sandbox Code Playgroud)

如何解决此问题并将本地计算机上的repo推送到GitHub?

git github

17
推荐指数
4
解决办法
4万
查看次数

ActiveRecord :: NoDatabaseError FATAL:数据库"db/development.postgresql"不存在

我正在构建一个小应用程序,它在本地工作.然后,当我在Heroku上部署它时,我的终端中出现了这个错误:

remote:        An error occurred while installing sqlite3 (1.3.11), and 

Bundler cannot
remote:        continue.
remote:        Make sure that `gem install sqlite3 -v '1.3.11'` succeeds before bundling.
remote:  !
remote:  !     Failed to install gems via Bundler.
remote:  !     
remote:  !     Detected sqlite3 gem which is not supported on Heroku.
remote:  !     https://devcenter.heroku.com/articles/sqlite3
remote:  !
remote: 
remote:  !     Push rejected, failed to compile Ruby app
remote: 
remote: Verifying deploy...
remote: 
remote: !   Push rejected to pockettheskimm.
remote: 
To https://git.heroku.com/pockettheskimm.git
 ! [remote …
Run Code Online (Sandbox Code Playgroud)

ruby postgresql ruby-on-rails heroku

4
推荐指数
1
解决办法
8787
查看次数

标签 统计

git ×1

github ×1

heroku ×1

postgresql ×1

ruby ×1

ruby-on-rails ×1