summaryrefslogtreecommitdiffhomepage
path: root/tasks/mruby_build_gem.rake
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2013-04-27 23:28:17 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2013-04-27 23:28:17 +0900
commit160eb71338205813b9b9c599249b4a5e2bec4217 (patch)
tree56a57edecc60bc19e93029c5cbc262b13a9051ad /tasks/mruby_build_gem.rake
parentfad94ba5006d3ef9423fb684eeeb0639adb94ec3 (diff)
downloadmruby-160eb71338205813b9b9c599249b4a5e2bec4217.tar.gz
mruby-160eb71338205813b9b9c599249b4a5e2bec4217.zip
fix gembox rake tasks to support Ruby 1.8
Diffstat (limited to 'tasks/mruby_build_gem.rake')
-rw-r--r--tasks/mruby_build_gem.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/mruby_build_gem.rake b/tasks/mruby_build_gem.rake
index 10e9b9692..993591efd 100644
--- a/tasks/mruby_build_gem.rake
+++ b/tasks/mruby_build_gem.rake
@@ -1,7 +1,7 @@
module MRuby
module LoadGems
def gembox(gemboxfile)
- gembox = File.absolute_path("#{gemboxfile}.gembox", "#{MRUBY_ROOT}/mrbgems")
+ gembox = File.expand_path("#{gemboxfile}.gembox", "#{MRUBY_ROOT}/mrbgems")
fail "Can't find gembox '#{gembox}'" unless File.exists?(gembox)
GemBox.config = self
instance_eval File.read(gembox)