Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Better guard support
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Matatall committed Jan 19, 2012
1 parent 7c28375 commit 9a03a8b
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,14 @@ group :development, :test do
gem 'eventmachine'
gem 'eventmachine-tail'

if RUBY_PLATFORM.downcase.include?("darwin")
gem "rb-fsevent"
gem "growl"
require 'rbconfig'

if RbConfig::CONFIG['target_os'] =~ /darwin/i
gem 'rb-fsevent', '>= 0.4.0'
gem 'growl', '~> 1.0.3'
end
if RbConfig::CONFIG['target_os'] =~ /linux/i
gem 'rb-inotify', '>= 0.8.4'
gem 'libnotify', '~> 0.3.0'
end
end

0 comments on commit 9a03a8b

Please sign in to comment.