Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Added fix to let updated Ruboto apps use older RubotoCore

* Issue #262 Update Ruboto Core to JRuby to 1.7.0.rc1
  • Loading branch information...
commit a4fba4982dd26ff4afcd370d322df345996a3093 1 parent a7dd3ca
@donv donv authored committed
Showing with 9 additions and 0 deletions.
  1. +9 −0 assets/src/org/ruboto/JRubyAdapter.java
View
9 assets/src/org/ruboto/JRubyAdapter.java
@@ -325,6 +325,15 @@ public static synchronized boolean setUpJRuby(Context appContext, PrintStream ou
}
String jrubyHome = "file:" + apkName + "!/jruby.home";
+
+ // FIXME(uwe): Remove when we stop supporting RubotoCore 0.4.7
+ Log.i("RUBOTO_CORE_VERSION_NAME: " + RUBOTO_CORE_VERSION_NAME);
+ if (RUBOTO_CORE_VERSION_NAME != null &&
+ (RUBOTO_CORE_VERSION_NAME.equals("0.4.7") || RUBOTO_CORE_VERSION_NAME.equals("0.4.8"))) {
+ jrubyHome = "file:" + apkName + "!";
+ }
+ // EMXIF
+
Log.i("Setting JRUBY_HOME: " + jrubyHome);
System.setProperty("jruby.home", jrubyHome);
Please sign in to comment.
Something went wrong with that request. Please try again.