From ab8a5aa57272d081196061a89094789e15f696a4 Mon Sep 17 00:00:00 2001 From: Yuichiro MASUI Date: Sun, 10 Mar 2013 14:19:14 +0900 Subject: Change default gem path. --- Rakefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index b910e824a..9c0711453 100644 --- a/Rakefile +++ b/Rakefile @@ -9,10 +9,8 @@ load "#{MRUBY_ROOT}/tasks/mruby_build.rake" load "#{MRUBY_ROOT}/tasks/mrbgem_spec.rake" # load configuration file -MRUBY_CONFIGS = ["#{MRUBY_ROOT}/build_config.rb", ENV['MRUBY_CONFIG']].compact -MRUBY_CONFIGS.each do |config| - load config unless config.empty? -end +MRUBY_CONFIG = (ENV['MRUBY_CONFIG'] && ENV['MRUBY_CONFIG'] != '') ? ENV['MRUBY_CONFIG'] : "#{MRUBY_ROOT}/build_config.rb" +load MRUBY_CONFIG # load basic rules MRuby.each_target do |build| -- cgit v1.2.3