diff options
author | Dan Porter <wolfpakz@gmail.com> | 2011-05-25 14:12:00 -0700 |
---|---|---|
committer | Dan Porter <wolfpakz@gmail.com> | 2011-05-25 14:12:00 -0700 |
commit | 8af68ba6f1c173db0b2e8bb6aadf508d78886cda (patch) | |
tree | f2e365e14aef5cfa8b57c423c3be2093c27bd8d4 | |
parent | 32cc997d01b4e49efb3f3410cd52810ed3285c41 (diff) | |
download | chef-8af68ba6f1c173db0b2e8bb6aadf508d78886cda.tar.gz |
Use Chef::Expander::VERSION to get the gem version
-rw-r--r-- | chef-expander/Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chef-expander/Rakefile b/chef-expander/Rakefile index 8a0644a26d..121e7f8f43 100644 --- a/chef-expander/Rakefile +++ b/chef-expander/Rakefile @@ -16,6 +16,7 @@ # limitations under the License. # +require 'lib/chef/expander/version' require 'rake/gempackagetask' require 'rake/rdoctask' @@ -41,7 +42,7 @@ rescue LoadError end task :install => :package do - sh %{gem install pkg/chef-expander-#{spec.version} --no-rdoc --no-ri} + sh %{gem install pkg/chef-expander-#{Chef::Expander::VERSION} --no-rdoc --no-ri} end begin |