Use gem built-in method to load gemspec file.
This commit is contained in:
parent
890d7e4e8b
commit
64b746a98c
2
Rakefile
2
Rakefile
|
@ -4,7 +4,7 @@ require 'rubygems/package_task'
|
||||||
require 'ffi'
|
require 'ffi'
|
||||||
|
|
||||||
def gemspec
|
def gemspec
|
||||||
@gemspec ||= eval(File.read('process_shared.gemspec'), binding, 'process_shared.gemspec')
|
@gemspec ||= Gem::Specification.load('process_shared.gemspec')
|
||||||
end
|
end
|
||||||
|
|
||||||
Rake::ExtensionTask.new('helper') do |ext|
|
Rake::ExtensionTask.new('helper') do |ext|
|
||||||
|
|
Loading…
Reference in New Issue