mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Check rubygems version when building package
This commit is contained in:
parent
b913921507
commit
94582f5e1d
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -71,7 +71,7 @@ task :binary => :compile do
|
|||
gemspec.files += Dir['vendor/v8/out/**/*.a']
|
||||
FileUtils.chmod 'a+r', gemspec.files
|
||||
FileUtils.mkdir_p 'pkg'
|
||||
package = RUBY_VERSION < '2.0.0' ? Gem::Builder.new(gemspec).build : Gem::Package.build(gemspec)
|
||||
package = Gem::VERSION < '2.0.0' ? Gem::Builder.new(gemspec).build : Gem::Package.build(gemspec)
|
||||
FileUtils.mv(package, 'pkg')
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue