From f4cee92b9afa20e0a9f458b2fb085c9f292cb05d Mon Sep 17 00:00:00 2001 From: botanicus Date: Fri, 6 Jul 2012 10:49:06 +0100 Subject: [PATCH] Ah, of course, project_root is missing. --- apiary.gemspec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apiary.gemspec b/apiary.gemspec index 0e8eeef..21c6838 100755 --- a/apiary.gemspec +++ b/apiary.gemspec @@ -1,7 +1,9 @@ #!/usr/bin/env gem build # encoding: utf-8 -$:.unshift File.expand_path("../lib", __FILE__) +project_root = File.dirname(__FILE__) + +$:.unshift(File.expand_path(File.join(project_root, ".."))) require "apiary/version"