2
0
mirror of https://github.com/junegunn/fzf synced 2024-11-14 18:12:53 +00:00
fzf/ext/mkrf_conf.rb
Junegunn Choi 1ba50eba98 Fix gemspec
Reference:
16ead977fa
2014-03-14 18:25:55 +09:00

10 lines
261 B
Ruby

require 'rubygems/dependency_installer'
if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.1.0')
Gem::DependencyInstaller.new.install 'curses', '~> 1.0'
end
File.open(File.expand_path('../Rakefile', __FILE__), 'w') do |f|
f.puts 'task :default'
end