Allow ACTIVE_GEMS to be changed from ENV

This commit is contained in:
Davide D'Agostino
2012-12-20 23:16:31 -08:00
parent d34c4c45f5
commit bd7cf2f251
+1 -1
View File
@@ -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