Skip to content

Instantly share code, notes, and snippets.

@mkristian
mkristian / gist:e1b5d3435da0ad14e3becc8f88d06739
Created September 29, 2016 07:10
doppelte plz-ka paare
@@ -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 @@
packaging :jrubyJar
gemfile
jarfile
# fixes some weird dependency problem
jar 'log4j:log4j:1.2.17'
resource :includes => ['myscript.rb']
source 'https://rubygems.org'
gem 'json', '1.8.3'
gem 'warbler', :group => 'development'
@mkristian
mkristian / app.rb
Created March 15, 2016 14:46
jruby library with embeded ruby and embedded gems and jar dependencies for the ruby application
# loads embedded jars
require 'jars/setup'
org.slf4j.LoggerFactory.getLogger('ROOT').info("require colorize: #{require 'colorize'}" )
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' }
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 December 10, 2015 10:09
phoenix setup for jruby. needs to install jars first before running the jdbc.rb script
jar 'org.apache.phoenix:phoenix-server:4.6.0-HBase-1.1'
jar 'sqlline:sqlline:1.1.9'
<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>
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
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.github.jruby-gradle:jruby-gradle-jar-plugin:1.1.4"
}
}
apply plugin: 'com.github.jruby-gradle.base'