From ece3b86050af6d510f52042a31034650e07aa2e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Wed, 21 Dec 2011 12:51:06 +0100 Subject: [PATCH] Always require log_buddy/version, even when Jeweler is not found. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The LogBuddy::VERSION constant is used by the RDoc task as well, so make sure to require it in top-level, as the Rakefile won't work otherwise. Signed-off-by: Diego Elio Pettenò --- Rakefile | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/Rakefile b/Rakefile index 1f1a62c..3f779fe 100644 --- a/Rakefile +++ b/Rakefile @@ -1,8 +1,9 @@ $:.unshift File.expand_path('../lib', __FILE__) +require 'log_buddy/version' + begin require 'jeweler' - require 'log_buddy/version' Jeweler::Tasks.new do |gem| gem.name = "log_buddy" gem.version = LogBuddy::Version::STRING -- 1.7.8