Permalink
Browse files

Include runtime version in site dir

I forgot this during doing the path rework, I think it's not used by anyone except me for Fedora packaging, so it can safely be merged into 1.7 tree.
  • Loading branch information...
1 parent 7357e88 commit 8fb299e3d0be334cff23ff2f3244df8348f7b2a5 @bkabrda committed Dec 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/org/jruby/ext/rbconfig/RbConfigLibrary.java
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) {

0 comments on commit 8fb299e

Please sign in to comment.