summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorDavide D'Agostino <[email protected]>2012-12-20 23:18:31 -0800
committerDavide D'Agostino <[email protected]>2012-12-20 23:18:31 -0800
commit706d77bf987f3cb3f833f3deca3836fb73c1c8f9 (patch)
treeb7ce53acc98b258b0b76422a93a62aedb97fe5f6 /Rakefile
parentbd7cf2f251509ef184e707a766a111c4ea057335 (diff)
downloadmruby-706d77bf987f3cb3f833f3deca3836fb73c1c8f9.tar.gz
mruby-706d77bf987f3cb3f833f3deca3836fb73c1c8f9.zip
Reuse code for paths
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 5fcad4e54..0eb128135 100644
--- a/Rakefile
+++ b/Rakefile
@@ -15,7 +15,7 @@ MRUBY_ROOT = ENV['MRUBY_ROOT'] || File.expand_path(File.dirname(__FILE__))
ENABLE_GEMS = ENV['ENABLE_GEMS'] == 'true'
# the default file which contains the active GEMs
-ACTIVE_GEMS = ENV['ACTIVE_GEMS'] || File.expand_path('../mrbgems/GEMS.active', __FILE__)
+ACTIVE_GEMS = ENV['ACTIVE_GEMS'] || File.join(MRUBY_ROOT, '/mrbgems/GEMS.active')
# default compile option
COMPILE_MODE = ENV['COMPILE_MODE'] || :debug