Created
September 13, 2011 19:02
-
-
Save jferris/1214730 to your computer and use it in GitHub Desktop.
Guard setup for spork, passenger, and bundler
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group :development, :test do | |
gem "spork", "~> 0.9.0.rc" | |
gem "guard" | |
gem "guard-spork" | |
gem "guard-bundler" | |
gem "guard-passenger" | |
gem "rb-fsevent", :require => false | |
gem "growl", :require => false | |
gem "passenger" | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guard 'spork' do | |
watch('config/application.rb') | |
watch('config/environment.rb') | |
watch(%r{^config/environments/.*\\\\.rb$}) | |
watch(%r{^config/initializers/.*\\\\.rb$}) | |
watch(%r{^spec/support/.*\\\\.rb$}) | |
watch('spec/spec_helper.rb') | |
watch('config/routes.rb') | |
watch('Gemfile.lock') | |
end | |
guard 'bundler' do | |
watch('Gemfile') | |
end | |
guard 'passenger' do | |
watch(%r{config/.*\.rb}) | |
watch('Gemfile.lock') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment