diff --git a/Gemfile b/Gemfile index c93af3b..e92684c 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