mirror of
https://github.com/junegunn/fzf.git
synced 2026-04-28 18:15:38 +08:00
Fix gemspec
Reference: https://github.com/tiredpixel/sidekiq-spy/commit/16ead977fa837966736b7dc50b3cfa6a3dd7d3c2
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
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
|
||||
+1
-1
@@ -13,5 +13,5 @@ Gem::Specification.new do |spec|
|
||||
spec.files = %w[fzf.gemspec]
|
||||
spec.executables = 'fzf'
|
||||
|
||||
spec.add_runtime_dependency 'curses', '~> 1.0.0'
|
||||
spec.extensions += ['ext/mkrf_conf.rb']
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user