使用mina部署rails应用时遇到的问题们
2017-04-10 14:01
387 查看
无法从github拉取代码
—–> Cloning the Git repositoryCloning into bare repository ‘/home/XXX/app/scm’…
Host key verification failed.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.
! ERROR: Deploy failed.
原因:Accessing the repo via SSH requires the target machine to have public key
to be uploaded to GitHub.
解决方法: github信息加入~/.ssh/known_hosts
RVM安装之后,新的会话不生效,需要source
原因:~/.bashrc与~/.bash_profile没有区别清楚解决方法:
[[ -s "/usr/local/rvm/scripts/rvm" ]] && . "/usr/local/rvm/scripts/rvm"
将以上内容加入~/.bashrc
在ubuntu上安装mysql2这个gem时报错
libmysqlclient is missing解决方式:
sudo apt-get install libmysqlclient-dev
Bundler::GemRequireError: There was an error while trying to load the gem ‘uglifier’.
Gem Load Error is: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes解决方式:
sudo apt-get install nodejs
相关文章推荐
- 部署之使用 mina 来部署 Ruby on Rails 应用之基础
- 分享:使用 Capistrano —— Rails应用快速部署工具
- 使用ruby部署工具mina快速部署nodejs应用教程
- 使用 Capistrano —— Rails应用快速部署工具
- 阿里云部署rails应用遇到的问题与解决方案
- Centos 部署rails应用遇到的一些问题
- ubunutu 12.04 下使用passenger+nginx 部署 rails应用
- [入门]使用Heroku部署Rails应用
- Rails 应用使用 Capistrano2 部署流程
- apache服务器安装以及使用passenger插件部署rails应用,基于ubuntu 12.04 LTS
- 【Ruby on Rails Tutorial笔记】将第一个Rails应用部署到 Heroku实践遇到的问题及解决过程记录
- 使用passenger+nginx在Ubuntu14.04服务器上部署rails应用填坑记
- 生产环境使用 Docker 部署 Rails 应用 Puma 和 Sidekiq
- osgi应用使用桥接的方式打成war包部署在websphere上时遇到的与cxf相关的问题
- apache服务器安装以及使用passenger插件部署rails应用
- Rails 应用使用 Capistrano2 部署流程
- 使用Heroku部署Rails应用
- apache服务器安装以及使用passenger插件部署rails应用,基于ubuntu 12.04 LTS
- 在Ubuntu上使用Nginx + Passenger部署Rails应用
- [入门]使用Heroku部署Rails应用