Sha256: 9f36d75f5a9d8f25cc69605b8638c23cb311269a28ee69a66d3cee89e79df380
Contents?: true
Size: 362 Bytes
Versions: 8
Compression:
Stored size: 362 Bytes
Contents
require 'rubygems' require 'rubygems/dependency_installer' # This is a hack to not install curses for ruby-2.0. di = Gem::DependencyInstaller.new if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.1.0') puts 'install curses' di.install 'curses', '~>1.0' end File.open(File.join(__dir__, 'Rakefile'), 'w') do |f| f.write("task :default#{$/}") end
Version data entries
8 entries across 8 versions & 1 rubygems