Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (23 sloc) 672 Bytes
source :rubygems
gemspec
gem 'rake'
platform :ruby do
gem 'rb-readline'
end
platform :ruby_18 do
gem 'json'
end
# The JS runtime is needed because ExecJS searches one when the module is loaded.
# This breaks travis builds even when the compiler is stubbed.
platform :jruby do
gem 'therubyrhino'
end
require 'rbconfig'
if RbConfig::CONFIG['target_os'] =~ /darwin/i
gem 'ruby_gntp', '~> 0.3.4', :require => false
elsif RbConfig::CONFIG['target_os'] =~ /linux/i
gem 'libnotify', '~> 0.7.1', :require => false
elsif RbConfig::CONFIG['target_os'] =~ /mswin|mingw/i
gem 'win32console', :require => false
gem 'rb-notifu', '>= 0.0.4', :require => false
end