summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorSebastian Boehm <sebastian@sometimesfood.org>2010-11-27 19:05:21 +0100
committerSebastian Boehm <sebastian@sometimesfood.org>2010-11-27 19:05:21 +0100
commit986b35e5fa1c0d5ffce746f7bd15bb49a991050d (patch)
tree4867878bbdf7eeeb9355956186fb8b364319f441 /Rakefile
parent3e466295289860b43322ac50f2b17e78d67ebb82 (diff)
downloadmixlib-cli-986b35e5fa1c0d5ffce746f7bd15bb49a991050d.tar.gz
Fix CHEF-1901: Require yaml in Rakefile
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 8d33718..937fc55 100644
--- a/Rakefile
+++ b/Rakefile
@@ -42,6 +42,7 @@ task :default => :spec
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
if File.exist?('VERSION.yml')
+ require 'yaml'
config = YAML.load(File.read('VERSION.yml'))
version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
else