Include runtime version in site dir #431

Merged
merged 1 commit into from Dec 7, 2012
View
2 src/org/jruby/ext/rbconfig/RbConfigLibrary.java
@@ -185,7 +185,7 @@ public static String getVendorArchDir(Ruby runtime) {
}
public static String getSiteDir(Ruby runtime) {
- return new NormalizedFile(getSiteDirGeneral(runtime), "ruby/site_ruby").getPath();
+ return new NormalizedFile(getSiteDirGeneral(runtime), String.format("ruby/%s/site_ruby", getRuntimeVerStr(runtime))).getPath();
}
public static String getSiteLibDir(Ruby runtime) {