{"issue":{"title":"Notifications are not working","created_at":"2011-12-20T01:44:08Z","user":{"login":"Nerian","id":259568,"url":"https://api.github.com/users/Nerian","avatar_url":"https://secure.gravatar.com/avatar/9642e8bd2c0a4aa406f0d856cde7a6f2?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9642e8bd2c0a4aa406f0d856cde7a6f2"},"milestone":null,"labels":[],"updated_at":"2011-12-23T12:19:28Z","state":"open","id":2608427,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":null,"html_url":"https://github.com/guard/guard-rspec/issues/82","body":"I am using:\r\n\r\n* guard-rails-assets\r\n* guard-rspec\r\n* guard-spork\r\n\r\nWhen I run `bundle exec guard` I get the following notifications:\r\n\r\n* Guard - Guard: Assets compiled\r\n* Guard - Spork: RSpec successfully started\r\n\r\nBut I don't get any notifications from Rspec. It doesn't notify me about the results of running the test suite. I tried many times, but I get no notification.\r\n\r\n\r\n```\r\ngroup :test do\r\n  gem 'rspec'\r\n  gem \"rspec-rails\"\r\n  gem 'guard-rspec'\r\n  gem 'rb-fsevent'\r\n  #gem 'growl'\r\n  gem 'rb-readline'\r\n  gem 'ruby_gntp'\r\n  gem 'guard-spork'\r\n  gem 'spork', '~> 0.9.0.rc'\r\n  gem 'guard-rails-assets'\r\nend\r\n```\r\n\r\n```\r\n\r\n# It is recommended to make explicit list of assets in `config/application.rb`\r\n# config.assets.precompile = ['application.js', 'application.css', 'all-ie.css']\r\nguard 'rails-assets', :run_on => [:start, :change], :runner => :rails, :rails_env => 'test' do\r\n  watch(%r{^app/assets/.+$})\r\n  watch('config/application.rb')\r\nend\r\n\r\nguard 'spork',\r\n  :rspec => true,\r\n  :test_unit => false,\r\n  :rspec_env => { 'RAILS_ENV' => 'test' } do\r\n    watch('config/application.rb')\r\n    watch('config/environment.rb')\r\n    watch(%r{^config/environments/.+\\.rb$})\r\n    watch(%r{^config/initializers/.+\\.rb$})\r\n    #watch(%r{^app/(.+)\\.rb$})\r\n    watch('Gemfile')\r\n    watch('Gemfile.lock')\r\n    watch('spec/spec_helper.rb')\r\n    watch('test/test_helper.rb')\r\nend\r\n\r\nguard 'rspec', :version => 2, :notification => true, :cli => \"--drb\", :keep_failed => false do\r\n  watch(%r{^spec/fabricators/.+_fabricator\\.rb$})     { \"spec\" }    \r\n  watch(%r{^app/(.+)\\.rb$})                           { |m| \"spec/#{m[1]}_spec.rb\" }\r\n  watch(%r{^lib/(.+)\\.rb$})                           { |m| \"spec/lib/#{m[1]}_spec.rb\" }\r\n  \r\n  watch(%r{^spec/acceptance/(.+)\\.rb$})\r\n  watch(%r{^spec/models/(.+)\\.rb$})\r\n  watch(%r{^spec/controllers/(.+)\\.rb$})\r\n  \r\n  watch(%r{^spec/support/(.+)\\.rb$})                  { \"spec\" }\r\n  watch('spec/spec_helper.rb')                        { \"spec\" }\r\n  watch('app/controllers/application_controller.rb')  { \"spec/controllers\" }\r\nend\r\n```","number":82,"url":"https://api.github.com/repos/guard/guard-rspec/issues/82","comments":12,"assignee":null},"comment":{"created_at":"2011-12-23T12:19:28Z","user":{"login":"AndyMoreland","id":37327,"url":"https://api.github.com/users/AndyMoreland","avatar_url":"https://secure.gravatar.com/avatar/d4031fcddd4dd331bca7c6ae11ab77f7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"d4031fcddd4dd331bca7c6ae11ab77f7"},"updated_at":"2011-12-23T12:19:28Z","id":3260417,"body":"I'm fairly confident that it is spork's forking that is breaking this. Guard reads the guardfile before the fork, so the env variable is set only in the parent process.","url":"https://api.github.com/repos/guard/guard-rspec/issues/comments/3260417"},"action":"created"}