Skip to content

Instantly share code, notes, and snippets.

@devpuppy
Forked from dust3d/gist:330740
Created March 12, 2010 21:04
Show Gist options
  • Save devpuppy/330796 to your computer and use it in GitHub Desktop.
Save devpuppy/330796 to your computer and use it in GitHub Desktop.
.autotest
# on Ruby 1.9.1...
# gem install test-unit -v 1.2.3
# gem install autotest redgreen autotest-fsevent autotest-rails ZenTest autotest-growl
require 'redgreen'
Autotest.send(:alias_method, :real_ruby, :ruby)
Autotest.send(:define_method, :ruby) do |*args|
real_ruby + %[ -rrubygems -e "require 'redgreen'" ]
end
require 'autotest/growl'
# has to go at the end
require 'autotest/fsevent'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment