diff --git a/Gemfile b/Gemfile index e070301..d83c3e8 100644 --- a/Gemfile +++ b/Gemfile @@ -7,7 +7,13 @@ gem 'fakefs', :require => nil gem 'guard' gem 'guard-rspec' -# TODO: make this more OS-independent...like the rest of the gem -gem 'growl' -gem 'rb-fsevent' +require 'rbconfig' +if Config::CONFIG['target_os'] =~ /darwin/i + gem 'rb-fsevent', '>= 0.3.9' + gem 'growl', '~> 1.0.3' +end +if Config::CONFIG['target_os'] =~ /linux/i + gem 'rb-inotify', '>= 0.5.1' + gem 'libnotify', '~> 0.1.3' +end