summaryrefslogtreecommitdiffhomepage
path: root/Rakefile
diff options
context:
space:
mode:
authorDavide D'Agostino <[email protected]>2012-12-20 23:16:31 -0800
committerDavide D'Agostino <[email protected]>2012-12-20 23:16:31 -0800
commitbd7cf2f251509ef184e707a766a111c4ea057335 (patch)
treedcdcfcbcaed71901d2c8b20c84ff9650e3f3e54a /Rakefile
parentd34c4c45f5761467fe2d9cb1dfe92a1c0612a8e8 (diff)
downloadmruby-bd7cf2f251509ef184e707a766a111c4ea057335.tar.gz
mruby-bd7cf2f251509ef184e707a766a111c4ea057335.zip
Allow ACTIVE_GEMS to be changed from ENV
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 697d3e9ea..5fcad4e54 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 = File.join(File.dirname(__FILE__), 'mrbgems', 'GEMS.active')
+ACTIVE_GEMS = ENV['ACTIVE_GEMS'] || File.expand_path('../mrbgems/GEMS.active', __FILE__)
# default compile option
COMPILE_MODE = ENV['COMPILE_MODE'] || :debug