Skip to content

Commit

Permalink
Require yaml explicitly. Needed for Ruby1.9. Features are not running…
Browse files Browse the repository at this point in the history
… on 1.9 yet though.
  • Loading branch information
aslakhellesoy authored and cflipse committed Aug 15, 2009
1 parent e9c7b84 commit a9a2ded
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,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
Expand Down

0 comments on commit a9a2ded

Please sign in to comment.