Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 8fb299e3d0be334cff23ff2f3244df8348f7b2a5 1 parent 7357e88
@bkabrda bkabrda authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.