Skip to content

Commit

Permalink
Merge pull request #431 from bkabrda/patch-1
Browse files Browse the repository at this point in the history
Include runtime version in site dir
  • Loading branch information
headius committed Dec 7, 2012
2 parents 7357e88 + 8fb299e commit 99b5163
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/jruby/ext/rbconfig/RbConfigLibrary.java
Expand Up @@ -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) {
Expand Down

0 comments on commit 99b5163

Please sign in to comment.