summaryrefslogtreecommitdiff
path: root/src/mem/ruby/config/print_cfg.rb
blob: 0a6d180d406f9a9a965a5cabeb90f13ebe755187 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14

ruby_cfg_file = nil
$stderr.puts $*.inspect
for i in 0..$*.size-1 do
  if $*[i] == "-r" # ruby config file
    i += 1
    ruby_cfg_file = $*[i]
    break
  end
end

require ruby_cfg_file

RubySystem.generateConfig