Created
October 30, 2020 21:06
-
-
Save boc-tothefuture/ff57340dd6c4e972592ac977e5cbb91e to your computer and use it in GitHub Desktop.
OpenHab/JRuby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#require 'java' | |
#require 'jruby' | |
#require 'logger' | |
#require 'csv' | |
p "***Classpath****" | |
p $CLASSPATH | |
p "*******" | |
$CLASSPATH << '/Users/boc@us.ibm.com/personal/openhab-2.5.10/conf/automation/jruby/jruby-complete-9.2.13.0.jar' | |
p "***Classpath****" | |
p $CLASSPATH | |
p "*******" | |
p "***special****" | |
p $: | |
p "*******" | |
$: << 'uri:classloader:/META-INF/jruby.home/lib/ruby/gems/shared/gems/did_you_mean-1.2.0/lib' | |
$: << 'uri:classloader:/META-INF/jruby.home/lib/ruby/2.5/site_ruby' | |
$: << 'uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib' | |
p "***Load Path****" | |
p $LOAD_PATH | |
p "*******" | |
require 'logger' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment