Config is deprecated, using RbConfig instread.
This commit is contained in:
parent
4439f6afda
commit
80ca7c1bf9
1 changed files with 4 additions and 4 deletions
8
Gemfile
8
Gemfile
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue