--- MacRuby/trunk/load.c 2010-02-08 23:49:25 UTC (rev 3456)
+++ MacRuby/trunk/load.c 2010-02-09 00:27:14 UTC (rev 3457)
@@ -227,7 +227,7 @@
if (*name_cstr == '/' || *name_cstr == '.') {
// Given name is an absolute path.
name = rb_file_expand_path(name, Qnil);
- return check_path(name_cstr, out, type);
+ return check_path(RSTRING_PTR(name), out, type);
}
// Given name is not an absolute path, we need to go through $:.