aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index d597085..21d1c2d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -24,8 +24,8 @@ end
##
$spec_path = 'leap_cli.gemspec'
-$spec = eval(File.read($spec_path))
$base_dir = File.dirname(__FILE__)
+$spec = eval(File.read(File.join($base_dir, $spec_path)))
$gem_path = File.join($base_dir, 'pkg', "#{$spec.name}-#{$spec.version}.gem")
def built_gem_path