Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am cshupp1 on github.
  • I am cshupp (https://keybase.io/cshupp) on keybase.
  • I have a public key ASDZAJkbsSb5CqkLHI5P2qijd8jzkC4xZP-ZC3v1RKxzqAo

To claim this, I am signing this object:

@cshupp1
cshupp1 / gist:1303191f26d653f3a9040114eb2d3fdf
Created September 20, 2019 23:55
jruby script in a jar
#contents of sample.rb
cat sample.rb
require './before'
puts "Hello World!"
#contents of before.rb
cat before.rb
puts "Before..."
#running:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-core:jar:9.2.0.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.felix:maven-bundle-plugin @ org.jruby:jruby-parent:9.2.0.0-SNAPSHOT, C:\work\jruby\jruby\pom.xml, line 339, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-stdlib:jar:9.2.0.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.felix:maven-bundle-plugin @ org.jruby:jruby-parent:9.2.0.0-SNAPSHOT, C:\work\jruby\jruby\pom.xml, line 339, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-complete:bundle:9.2.0.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)'
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-core:jar:9.2.0.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.felix:maven-bundle-plugin @ org.jruby:jruby-parent:9.2.0.0-SNAPSHOT, C:\work\jruby\jruby\pom.xml, line 339, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-stdlib:jar:9.2.0.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.felix:maven-bundle-plugin @ org.jruby:jruby-parent:9.2.0.0-SNAPSHOT, C:\work\jruby\jruby\pom.xml, line 339, column 17
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jruby:jruby-parent:pom:9.2.0.0-SNAPSHOT
[WARNING] 'build.pluginManagement.plugins.plugin.(groupId:artifactId)' must
@cshupp1
cshupp1 / gist:7916b7027d0163a6b7d8ec32643743bf
Created January 29, 2018 17:31
building improve_windows_open3
C:\work\jruby\jruby>git show
commit f58ddad8040453486537c56690a102e6b9c71524
Author: Charles Oliver Nutter <headius@headius.com>
Date: Thu Jan 11 10:55:42 2018 -0600
Restructure Windows monkey patch for Open3. #4943
diff --git a/core/src/main/java/org/jruby/RubyIO.java b/core/src/main/java/org/jruby/RubyIO.java
index 169176a..593bf68 100644
--- a/core/src/main/java/org/jruby/RubyIO.java
@cshupp1
cshupp1 / mvn_dash_x_9.1.12_failure.txt
Created July 13, 2017 11:55
Bundle install not working on windows -- torquebox/jruby9-maven-plugins
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: C:\ide\maven\apache-maven-3.3.9-bin\apache-maven-3.3.9\bin\..
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: C:\languages\Java\jdk1.8.0_121\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG] Imported: javax.enterprise.inject.* < plexus.core
[DEBUG] Imported: javax.enterprise.util.* < plexus.core