Config is deprecated, using RbConfig instread.

This commit is contained in:
Philip Arndt 2011-09-03 15:34:52 +12:00
parent 4439f6afda
commit 80ca7c1bf9

View file

@ -23,11 +23,11 @@ group :development, :test do
gem 'guard-spork'
unless ENV['TRAVIS']
if Config::CONFIG['target_os'] =~ /darwin/i
if RbConfig::CONFIG['target_os'] =~ /darwin/i
gem 'rb-fsevent', '>= 0.3.9'
gem 'growl', '~> 1.0.3'
end
if Config::CONFIG['target_os'] =~ /linux/i
if RbConfig::CONFIG['target_os'] =~ /linux/i
gem 'rb-inotify', '>= 0.5.1'
gem 'libnotify', '~> 0.1.3'
end
@ -36,10 +36,10 @@ group :development, :test do
platforms :jruby do
unless ENV['TRAVIS']
if Config::CONFIG['target_os'] =~ /darwin/i
if RbConfig::CONFIG['target_os'] =~ /darwin/i
gem 'growl', '~> 1.0.3'
end
if Config::CONFIG['target_os'] =~ /linux/i
if RbConfig::CONFIG['target_os'] =~ /linux/i
gem 'rb-inotify', '>= 0.5.1'
gem 'libnotify', '~> 0.1.3'
end