summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/ruby.c b/ruby.c
index 6983791336..44200ab87d 100644
--- a/ruby.c
+++ b/ruby.c
@@ -703,6 +703,16 @@ ruby_prog_init()
addpath(RUBY_THIN_ARCHLIB);
#endif
+#ifdef RUBY_SITE_LIB
+ addpath(RUBY_SITE_LIB);
+#endif
+#ifdef RUBY_SITE_ARCHLIB
+ addpath(RUBY_SITE_ARCHLIB);
+#endif
+#ifdef RUBY_SITE_THIN_ARCHLIB
+ addpath(RUBY_SITE_THIN_ARCHLIB);
+#endif
+
if (rb_safe_level() == 0) {
addpath(getenv("RUBYLIB"));
}