summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorJohn Keiser <jkeiser@opscode.com>2011-08-25 12:16:07 -0700
committerJohn Keiser <jkeiser@opscode.com>2011-08-25 12:16:07 -0700
commitb5e8461d94318668a39ac965fa6911cde14b2a66 (patch)
tree75b9339105ca3f486a22741aabf012d2171a3dcb /Rakefile
parent72cfeabd151fcdd902d809e9196856bf5825460d (diff)
parent986b35e5fa1c0d5ffce746f7bd15bb49a991050d (diff)
downloadmixlib-cli-b5e8461d94318668a39ac965fa6911cde14b2a66.tar.gz
Merge pull request #3 from sometimesfood/CHEF-1901
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 ebef673..1dcfaed 100644
--- a/Rakefile
+++ b/Rakefile
@@ -31,6 +31,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