lopex has quit [Quit: Connection closed for inactivity]
l0rd_hex has quit [Quit: WeeChat 2.2]
_whitelogger has joined #jruby
shellac has joined #jruby
rdubya has joined #jruby
rdubya has quit [Quit: Leaving.]
lopex has joined #jruby
Eiam has joined #jruby
rosenjcb has joined #jruby
<rosenjcb>
I get this error when I run jruby -S jbundle install "NoMethodError: undefined method `extra_gem_paths' for JRuby::Util:Module" Anyone know what that means?
<rosenjcb>
I don't use ruby that often, but it's the rich web interface to our java application
<rosenjcb>
It works in ubuntu (for windows) but not in windows 10 for some reason
<enebo>
rosenjcb: that is pretty weird
<rosenjcb>
I can show the whole log
<rosenjcb>
Let me grab it
<enebo>
rosenjcb: It is implemented in Java so I would expect it to load unless maybe jruby/util only loads on non-windows somehow
<rosenjcb>
Yeah I have no idea what's up
<enebo>
rosenjcb: can you try jruby -e 'require "jruby/util"; JRuby::Util.extra_gem_paths'
<enebo>
rosenjcb: err quoting may be not right for windows
<rosenjcb>
It's not something wrong with maven, is it?
<enebo>
I have latest maven
<enebo>
So I just downloaded and replaced one from last year
<enebo>
3.5.4
<rosenjcb>
same
<enebo>
I don't know how maven loads jruby
<enebo>
This would be a big thing to try but nuking part/all of .m2/repository perhaps
<enebo>
maybe just anything related to org.jruby
<enebo>
is tabula-master just tabula?
<rosenjcb>
ooooh
<rosenjcb>
ahybe
<rosenjcb>
I'll just do that
<enebo>
I like to clean the cruft out of m2 on occasion anyways
<enebo>
or I get petabytes or old artifacts
<enebo>
(half joking on size)
<enebo>
rosenjcb: I am going to lunch now so I will be afk
<rosenjcb>
yeah I'm getting hungry too
<rosenjcb>
thanks for the help, I'll see what I can do
<enebo>
rosenjcb: if we do figure this out we should let mkristian on jbundler know why it fails to perhaps make a document or something else?
<rosenjcb>
yes yes
<rosenjcb>
It is not documented at all
<rosenjcb>
I have searched far and wide
<rosenjcb>
Deleting .m2 didn't help either
<rosenjcb>
I think it's definitely a jbundle fug up
<enebo>
rosenjcb: I guess at this point maybe open an issue on mkristian/jbundler
<enebo>
It makes no sense to me. It is almost like you are getting some earlier jruby which did not have that method in JRuby::Util
<rosenjcb>
enebo, I guess I can just build on linux (since it builds fine there) and then run the jar
<rosenjcb>
I was trying to build on windows completely because I get this weird 500 error with the web server and I thought that was maybe because of running the jar in ubuntu shell
<rosenjcb>
Or something, I dunno
<enebo>
rosenjcb: yeah sorry things are no going smoothly
<rosenjcb>
Oh no worries dude, let's make this an issue together anyways
<rosenjcb>
I think it works
<rosenjcb>
Cause I ran the jar on the windows machine and it works fine, I still get that 500 error but not when I do the action another way... I think it's a bug or something
<rosenjcb>
enebo, how should I word it? This will be the second time I've ever submitted an issue to a repo.
<rosenjcb>
Don't know why but I always fear asking dumb questions on repos
<enebo>
rosenjcb: hey I have a thing to try to make this easier
<enebo>
make a simple directory with just a single dep in a Jarfile
<enebo>
If it fails then I guess that is something more minimal to work with
<rosenjcb>
fair point
<enebo>
I actually also thought of one other thing which may help understand something
<enebo>
JRUBY_OPTS=-Xdebug.loadService
<enebo>
when you run jbundler you will see every file loaded including internal .rbs...I am half wondering if we see some weird random version of jruby
<enebo>
I really wish that logging would say which jar jruby/util was getting loaded from but maybe it will shed some light
<rosenjcb>
so just run the jbundle command and add that as an argument?
<enebo>
set it as an environment var
<rosenjcb>
ooooooh
<enebo>
in CMD set JRUBY_OPTS=...
<rosenjcb>
yes yes
<rosenjcb>
done
<rosenjcb>
Did set JRUBY_OPTS=-Xdebug.loadService
<enebo>
lots of output should be showing what it loads
<enebo>
at best we would see some directory not in c:\jruby-*
<rosenjcb>
So what should I do now?
<enebo>
look to see if anything in that output is not in C:\jruby
<enebo>
bummer for jruby/util it will show builtinLib and no location
<enebo>
that would have been the ultimate
<rosenjcb>
I mean which command should I use?
<enebo>
another thing to try would just be to search windows box for rando .jar files to see if it is possible it is being picked up
<enebo>
jbundle command
<rosenjcb>
ok
<rosenjcb>
let's see what spits out
<enebo>
rosenjcb: but I would also definitely do the new directory with a single line Jarfile loading some jar
<enebo>
rosenjcb: if that ends up working then it will be something unique to your project
<enebo>
if not then it is probably some environment issue
<rosenjcb>
I don't think anything changed when I ran jruby -S jbundle install
<enebo>
rosenjcb: you should have seen a ton of output
<rosenjcb>
It didn't make the environmental variable, that's why
<rosenjcb>
fucking windows
<enebo>
how are you trying and set it?
<enebo>
set JRUBY_OPTS=-Xdebug.loadService in CMD before running the command
<rosenjcb>
through powershell using set
<enebo>
oh hmm
<enebo>
not really a windows guy
<enebo>
:P
<rosenjcb>
enebo, I got it. I just need to output it to a txt or something
<rosenjcb>
fugging huge output
<rosenjcb>
ok that was way too much text for pastebin