Skip to content

Instantly share code, notes, and snippets.


Paulo Köch pkoch

View GitHub Profile
denyago / gist:1521093
Created Dec 26, 2011
Insatall ruby-debug19 on ruby 1.9.3-p0 and Rails 3.1
View gist:1521093

Patch for load speed:

cd /tmp
git clone git://
rvm install ruby-1.9.3-p0 --patch /tmp/1484985/cached_lp_sorted_lf.patch -n patched

Download fresh ruby-debug19

ianmurrays / deploy.rb
Created Jul 21, 2011
Runs test locally before deploying on capistrano.
View deploy.rb
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."
puts "--> Tests passed"
brienw / rake_autocomplete_for_bash.rb
Created Jun 14, 2011 — forked from petrblaho/rake_autocomplete_for_bash.rb
bash autocomplete for rake with cache
View rake_autocomplete_for_bash.rb
#!/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 (, combining work from
# Francis Hwang ( ) -
# Nicholas Seckar <> -
# Saimon Moore <>