From af159f5b97473bf4a130078800a91b1eebbcde35 Mon Sep 17 00:00:00 2001 From: Jeremy Cook Date: Thu, 9 Jan 2014 17:45:05 -0500 Subject: [PATCH] Added libnotify Gem on *nix systems in case people want to use it for Guard notifications. --- Gemfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Gemfile b/Gemfile index c4e733d..8a90e4c 100644 --- a/Gemfile +++ b/Gemfile @@ -1,3 +1,4 @@ +require 'rbconfig' source 'https://rubygems.org' # Add dependencies required to use your gem here. @@ -16,6 +17,9 @@ group :development do gem "simplecov", :platforms => :mri_19 gem "test-construct" gem "capture-output", "~> 1.0.0" + if RbConfig::CONFIG['host_os'] =~ /linux|freebsd|openbsd|sunos|solaris/ + gem 'libnotify' + end if RUBY_VERSION >= '1.9.2' gem "rubocop" end