multi-platform gemfile

This commit is contained in:
John Bintz 2011-06-04 08:39:32 -04:00
parent 35a30eee28
commit 28dc7aa068
1 changed files with 9 additions and 3 deletions

12
Gemfile
View File

@ -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