Rakefile in ohai-7.4.1 vs Rakefile in ohai-7.6.0.rc.0
- old
+ new
@@ -1,17 +1,17 @@
require 'rubygems'
require 'rubygems/package_task'
require 'rubygems/specification'
require 'date'
+require 'ohai/version'
gemspec = eval(IO.read("ohai.gemspec"))
-
Gem::PackageTask.new(gemspec).define
desc "install the gem locally"
task :install => [:package] do
- sh %{gem install pkg/#{ohai}-#{OHAI_VERSION}}
+ sh %{gem install pkg/ohai-#{Ohai::VERSION}.gem}
end
begin
require 'rspec/core/rake_task'