Patch for load speed: https://gist.github.com/1484985
cd /tmp
git clone git://gist.github.com/1484985.git
rvm install ruby-1.9.3-p0 --patch /tmp/1484985/cached_lp_sorted_lf.patch -n patchedDownload fresh ruby-debug19
Patch for load speed: https://gist.github.com/1484985
cd /tmp
git clone git://gist.github.com/1484985.git
rvm install ruby-1.9.3-p0 --patch /tmp/1484985/cached_lp_sorted_lf.patch -n patchedDownload fresh ruby-debug19
| set :test_log, "logs/capistrano.test.log" | |
| namespace :deploy do | |
| before 'deploy:update_code' do | |
| puts "--> Running tests, please wait ..." | |
| unless system "bundle exec rake > #{test_log} 2>&1" #' > /dev/null' | |
| puts "--> Tests failed. Run `cat #{test_log}` to see what went wrong." | |
| exit | |
| else | |
| puts "--> Tests passed" |
| #!/usr/bin/env ruby | |
| # Complete rake tasks script for bash | |
| # Save it somewhere and then add | |
| # complete -C path/to/script -o default rake | |
| # to your ~/.bashrc | |
| # Xavier Shay (http://rhnh.net), combining work from | |
| # Francis Hwang ( http://fhwang.net/ ) - http://fhwang.net/rb/rake-complete.rb | |
| # Nicholas Seckar <[email protected]> - http://www.webtypes.com/2006/03/31/rake-completion-script-that-handles-namespaces | |
| # Saimon Moore <[email protected]> |