aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
Diffstat (limited to 'spec')
-rw-r--r--spec/default.mspec2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/default.mspec b/spec/default.mspec
index 1d99004171..6505fca904 100644
--- a/spec/default.mspec
+++ b/spec/default.mspec
@@ -7,7 +7,7 @@ class MSpecScript
f.read[/^\s*srcdir\s*=\s*(.+)/i] and srcdir = $1
}
end
- config = proc{|name| `#{builddir}/miniruby -I#{srcdir} -rrbconfig -e 'print RbConfig::CONFIG["#{name}"]'`}
+ config = proc{|name| `#{builddir}/miniruby -I#{srcdir} -r#{builddir}/rbconfig -e 'print RbConfig::CONFIG["#{name}"]'`}
# The default implementation to run the specs.
set :target, File.join(builddir, "miniruby#{config['exeext']}")