Created
February 18, 2011 09:59
-
-
Save priit/833482 to your computer and use it in GitHub Desktop.
Fresh Guard user
This file contains 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
My current Gemfile with ruby 1.9.2: | |
gem 'rspec', '2.5.0' | |
gem 'rspec-rails', '2.5.0' | |
gem 'factory_girl_rails', '1.0.1' | |
gem 'steak', '1.1.0' | |
gem 'capybara', '0.4.1.2' | |
gem 'launchy', '0.3.7' | |
gem 'spork', '0.9.0.rc3' | |
gem 'guard-spork', '0.1.4' | |
gem 'guard-rspec', '0.1.9' | |
gem 'libnotify', '0.3.0' | |
Guardfile: | |
# A sample Guardfile | |
# More info at https://github.com/guard/guard#readme | |
guard 'rspec' do | |
watch(%r{spec/(.*)_spec.rb}) | |
watch(%r{app/(.*)\.rb}) { |m| "spec/#{m[1]}_spec.rb" } | |
watch(%r{lib/(.*)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" } | |
watch('spec/spec_helper.rb') { "spec" } | |
watch('config/routes.rb') { "spec/routing" } | |
watch('app/controllers/application_controller.rb') { "spec/controllers" } | |
watch('spec/factories.rb') { "spec/models" } | |
end | |
guard 'spork' do | |
watch('config/application.rb') | |
watch('config/environment.rb') | |
watch(%r{^config/environments/.*\.rb$}) | |
watch(%r{^config/initializers/.*\.rb$}) | |
watch('spec/spec_helper.rb') | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment