From e81f25a0d271d57b7fd03978115e468a8f94319a Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 24 Nov 2010 14:37:20 -0500 Subject: [PATCH] fix example standalone --- .gitignore | 1 + test/example_standalone.rb | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 17f3de0..83586a8 100644 --- a/.gitignore +++ b/.gitignore @@ -8,5 +8,6 @@ Manifest tmp/* .bundle/* .DS_Store +*.gem diff --git a/test/example_standalone.rb b/test/example_standalone.rb index 53fa68b..46442e0 100644 --- a/test/example_standalone.rb +++ b/test/example_standalone.rb @@ -1,9 +1,7 @@ #!/usr/bin/ruby require 'rubygems' -gem 'apache-config' +gem 'apache-config-generator' require 'apache/config' -puts Apache::Config.build_and_return do - this_works -end +puts Apache::Config.build_and_return { this_works }