Rakefile in rego-1.9.0 vs Rakefile in rego-2.0.0

- old
+ new

@@ -275,11 +275,11 @@ # grok version # version = ENV['VERSION'] unless version - require "./lib/#{ This.lib }" + require "./lib/#{ This.lib }/version.rb" This.name = lib.capitalize This.object = eval(This.name) version = This.object.send(:version) end This.version = version @@ -295,10 +295,10 @@ abort('no lib') unless This.lib abort('no version') unless This.version # discover full path to this ruby executable # - c = Config::CONFIG + c = RbConfig::CONFIG bindir = c["bindir"] || c['BINDIR'] ruby_install_name = c['ruby_install_name'] || c['RUBY_INSTALL_NAME'] || 'ruby' ruby_ext = c['EXEEXT'] || '' ruby = File.join(bindir, (ruby_install_name + ruby_ext)) This.ruby = ruby