pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
shellac has joined #jruby
donV has joined #jruby
donV has quit [Ping timeout: 252 seconds]
cprice has joined #jruby
<cprice>
is there a way to get a reference to the Ruby runtime instance from ruby code?
<cprice>
trying to debug something that's happening in java code, that involves calling recv.getRuntime(), but hoping I can poke at the related objects via irb
shellac has quit [Quit: Computer has gone to sleep.]
<cprice>
or to get a reference to the metaclass for an object?
claudiuinberlin has joined #jruby
<cprice>
hmm, maybe 'import org.jruby.Ruby', 'Ruby.getGlobalRuntime' will do what I need
<headius>
hiya
<cprice>
o/
<headius>
JRuby.runtime is the current runtime
<cprice>
nice
<cprice>
ty
claudiuinberlin has quit [Remote host closed the connection]
<cprice>
hmmm. next question is whether it's possible to call a private method on a Java object from ruby code
<cprice>
i see docs on maybe how to do that with fields by subclassing
<cprice>
but is it possible, given an instance of a Java object (specifically LazyPOSIX in this case), to call a private method on it from ruby code
<cprice>
or even access a private member variable i guess would be fine
djellemah_ has joined #jruby
<cprice>
maybe something with posix.class.java_class.declared_method :posix
enebo has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Remote host closed the connection]
donV has joined #jruby
mtoy has joined #jruby
<GitHub141>
[jruby] pitr-ch pushed 2 new commits to truffle-head: https://git.io/vXmEr
<GitHub141>
jruby/truffle-head 579a710 Petr Chalupa: [Truffle] Process.setproctitle should not use and set $0
<GitHub141>
jruby/truffle-head a2ac5e3 Petr Chalupa: [Truffle] test latest bundler with workarounds
<mtoy>
late friday i asked for help acyually using a branch-built jruby. rvm will point itself at a jruby tree and build and install find, but my app builds itself into a jar with warbler and uses jruby-jars and i couldn't figure out how to get my gemfile to load my custom built verison of jruby-jars ... google didn't help me, is this a simple thing or is
<mtoy>
it something i just need to slog through?
<mtoy>
the only thing i can think of now is to set up a custom gem server with that one gem and specify that in th gemfile
tcrawley is now known as tcrawley-away
tcrawley-away is now known as tcrawley
subbu is now known as subbu|lunch
lanceball is now known as lance|afk
subbu|lunch is now known as subbu
prasunanand has quit [Remote host closed the connection]
bbrowning has quit [Remote host closed the connection]
bbrowning has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has quit [Remote host closed the connection]
camlow325 has quit [Quit: WeeChat 1.5]
claudiuinberlin has joined #jruby
pilhuhn has quit [Quit: Leaving...]
tcrawley is now known as tcrawley-away
mistergibson has joined #jruby
<cprice>
Does anyone remember the solution for this one?: Could not initialize class jnr.posix.POSIXFactory$DefaultLibCProvider$SingletonHolder
subbu|lunch is now known as subbu
<cprice>
I'm debugging something on OpenBSD. I'm guessing it has something to do with packaging... when I run from jruby-complete it seems to be able to load the OpenBSDPOSIX, but when I run a program from an uberjar that contains JRuby, it throws that error. Not sure if it's a bug in my packaging or if jruby-complete is putting a file on disk somewhere that I have inside of a jar in my setup, and something's not working there, or what
claudiuinberlin has quit []
djellemah_ has quit [Ping timeout: 265 seconds]
<GitHub135>
[jruby] nirvdrum force-pushed add-default-encodings-to-encoding-manager from f172304 to 4eb03ea: https://git.io/vXmH0
<GitHub135>
jruby/add-default-encodings-to-encoding-manager 011fd12 Kevin Menard: [Truffle] Keep track of default_external and default_internal encondings in EncodingManager....
<GitHub135>
jruby/add-default-encodings-to-encoding-manager 00c038f Kevin Menard: [Truffle] Switched to a jnr-posix-backed version of Encoding.locale_charmap.
<GitHub135>
jruby/add-default-encodings-to-encoding-manager 3432503 Kevin Menard: Fixed an issue with alias names being converted to constant names when they shouldn't be.