Hegwin.Me

Thoughts grows up by feeding itself with its own words.

How to Deploy with Capistrano after Repo URL changed?

修改Repo地址后Capistrano部署问题

We are using Capistrano to deploy our project and recently migrated the project repository from BitBucket to Github. I thought I could just simply change `set :repo_url` in `config/deploy.rb`, but that's not the case. When I executed the deployment with Cap, I saw that the code in the log was still taken from the BitBucket repo, and all the changes...

Rails CI: RSpec+Guard+Spork

Rails项目持久集成工具:RSpec+Guard+Spork

RSpec, a testing framework in Ruby, can be used to write tests for Ruby on Rails, but also for pure Ruby projects. Guard, as the name suggests, monitors all the files in the project, and when a file changes in the project, it will start the corresponding test script according to the configuration. Spork, which can be thought of as...