Skip to content

Instantly share code, notes, and snippets.

Christian Meier mkristian

View GitHub Profile
View gist:e1b5d3435da0ad14e3becc8f88d06739
@@ -140,7 +140,7 @@
1458;1.32
1459;2.39
1462;2.39
-1465;1.32
+1465;2.39
1466;1.32
1468;1.32
1469;1.32
@@ -166,7 +166,7 @@
View Mavenfile
packaging :jrubyJar
gemfile
jarfile
# fixes some weird dependency problem
jar 'log4j:log4j:1.2.17'
resource :includes => ['myscript.rb']
View Gemfile
source 'https://rubygems.org'
gem 'json', '1.8.3'
gem 'warbler', :group => 'development'
@mkristian
mkristian / app.rb
Created Mar 15, 2016
jruby library with embeded ruby and embedded gems and jar dependencies for the ruby application
View app.rb
# loads embedded jars
require 'jars/setup'
org.slf4j.LoggerFactory.getLogger('ROOT').info("require colorize: #{require 'colorize'}" )
View gist:19f6d742acd4f490daa5
LoadError: load error: jopenssl/load -- java.lang.VerifyError: Bad type on operand stack
Exception Details:
Location:
org/jruby/ext/openssl/SecurityHelper.verify(Ljava/security/cert/X509CRL;Ljava/security/PublicKey;Z)Z @206: invokevirtual
Reason:
Type 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' (current frame, stack[1]) is not assignable to 'org/bouncycastle/crypto/params/AsymmetricKeyParameter'
Current Frame:
bci: @206
flags: { }
locals: { 'java/security/cert/X509CRL', 'java/security/PublicKey', integer, 'org/bouncycastle/operator/DefaultDigestAlgorithmIdentifierFinder', top, 'java/math/BigInteger', 'java/security/interfaces/DSAParams', 'org/bouncycastle/crypto/params/DSAParameters', 'org/bouncycastle/crypto/params/DSAPublicKeyParameters' }
View truffle-test.diff
diff --git a/test/pom.rb b/test/pom.rb
index 362d1f3..7438482 100644
--- a/test/pom.rb
+++ b/test/pom.rb
@@ -102,7 +102,6 @@ project 'JRuby Integration Tests' do
'encoding' => 'utf-8',
'debug' => 'true',
'verbose' => 'true',
- 'fork' => 'true',
'showWarnings' => 'true',
@mkristian
mkristian / Jarfile
Last active Dec 10, 2015
phoenix setup for jruby. needs to install jars first before running the jdbc.rb script
View Jarfile
jar 'org.apache.phoenix:phoenix-server:4.6.0-HBase-1.1'
jar 'sqlline:sqlline:1.1.9'
View settings.xml
<settings>
<mirrors>
<mirror>
<id>lookout</id>
<!-- mirror all but localhost and file base urls -->
<mirrorOf>external:*</mirrorOf>
<url>https://127.0.0.1/maven/</url>
</mirror>
</mirrors>
</settings>
View jruby-1.7.23.patch
diff --git a/VERSION b/VERSION
index ad36e7a..52a89d4 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.7.23-SNAPSHOT
+1.7.23
diff --git a/maven/jruby-jars/pom.xml b/maven/jruby-jars/pom.xml
index 3478f71..cd4b58b 100644
View build.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.github.jruby-gradle:jruby-gradle-jar-plugin:1.1.4"
}
}
apply plugin: 'com.github.jruby-gradle.base'
You can’t perform that action at this time.