diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-29 14:06:22 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-08-29 14:06:22 -0700 |
commit | 5b8b8358d99cadaabe9956d2ca6e9142bc709488 (patch) | |
tree | 8df43a43323d9a765bdb6b2212308556cabcac53 /Rakefile | |
parent | 4895aaac3d38b2fd1b322fc4cc0dcda54707a902 (diff) | |
download | ohai-5b8b8358d99cadaabe9956d2ca6e9142bc709488.tar.gz |
fix busted rake install
seems like some prior refactoring was too aggressive and not tested or
something...
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,15 +2,15 @@ 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 |