<havenwood> i guess using the --dev flag when it's JRuby would help a bit
<havenwood> it doesn't seems like there's anything like --properties to get at those Ruby constants
rcvalle has quit [Quit: rcvalle]
pawnbox has joined #jruby
camlow325 has quit [Quit: WeeChat 1.5]
pawnbox has quit [Ping timeout: 244 seconds]
fedenusy has joined #jruby
<nirvdrum> havenwood: If you allow a hackish solution, RUBY_ENGINE is always "jruby" and RUBY_VERSION can be extracted from "jruby -v" (a fast command). Not sure I've ever seen GEM_ROOT.
<JayL> @nirvdrum that's what they're trying to avoid. Jruby startup is slow for CLI users
<nirvdrum> JayL: jruby -v is incredibly fast.
<havenwood> hmm, I guess we don't actually know the RUBY_ENGINE at this point but --version would give that as well across supported Rubies (-v is funky on mruby)
tmio has quit [Quit: tmio]
<havenwood> that would just leave GEM_ROOT unreplaced
<nirvdrum> havenwood: Oh, so you don't even know what the binary is at this point? I thought you were just looking to build up a DB of sorts based on known installed versions.
<JayL> yeah and I think you might need the cost of executing: require 'rubygems'; puts "export GEM_ROOT=#{Gem.default_dir.inspect};"
tmio has joined #jruby
<JayL> that's the slowdown. jruby -v is quick
<nirvdrum> That's too bad. "jruby -v" is only 150ms on my system.
<nirvdrum> JayL's snippet is ~2s for me. ~1.5s with --dev.
<nirvdrum> Not great.
<havenwood> nirvdrum: yeah, it's fuzzy matching to select the Ruby so there might not have even been a "jruby", maybe just a: chruby 9.1.5.0
<havenwood> err, actually yeah it has matched at this point, so that function would be called with: chruby_use "jruby-9.1.5.0"
<havenwood> I don't know what to do about GEM_ROOT.
<JayL> looking at something
johnsonch is now known as johnsonch_afk
johnsonch_afk is now known as johnsonch
<JayL> GEM_ROOT is likely costly to obtain.
<JayL> I checked a few things. The source of the Gem.default_dir value comes from the rubygems/defaults.rb - which in turn pulls from RbConfig. All obtained via the ruby interpreter
<JayL> I was thinking maybe you could save loading the rubygems (and dependencies if there are any) ... I even checked the cost of going just to RbConfig - same time results.
<JayL> The other thought was to save you a few 1/10s of seconds by adding the --client jruby option ... it does not seem to have any effect.
<JayL> I was hoping there might be something equivalent to 'perl -V' but alas there is not.
<JayL> Ugly but potentially an option - store the results in a "cache file" and if the cache file is present load results from file rather than the cost of firing up the jruby interpreter (that is the cost I think).
<JayL> Ugly but potentially an option - store the results in a "cache file" and if the cache file is present load results from file rather than the cost of firing up the jruby interpreter (that is bulk of the cost I think).
<JayL> That's as far as I can go :) don't let me stop you from further search
tmio has quit [Quit: tmio]
pawnbox has joined #jruby
dannyNL has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pawnbox has quit [Ping timeout: 244 seconds]
johnsonch is now known as johnsonch_afk
johnsonch_afk is now known as johnsonch
pawnbox has joined #jruby
dannyNL has joined #jruby
dannyNL has quit [Client Quit]
pawnbox has quit [Ping timeout: 244 seconds]
johnsonch is now known as johnsonch_afk
dinfuehr_ has joined #jruby
dinfue___ has quit [Ping timeout: 244 seconds]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 248 seconds]
dannyNL has joined #jruby
dannyNL has quit [Client Quit]
fedenusy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 265 seconds]
<GitHub105> [jruby] bjfish pushed 1 new commit to truffle-head: https://git.io/vir06
<GitHub105> jruby/truffle-head a9b6515 Brandon Fish: [Truffle] Update Fixnum/Complex#hash
dannyNL has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 244 seconds]
<GitHub199> [jruby] bjfish pushed 1 new commit to truffle-head: https://git.io/viruH
<GitHub199> jruby/truffle-head 93cc335 Brandon Fish: [Truffle] Add Method#hash
fedenusy has joined #jruby
fedenusy has quit [Client Quit]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 265 seconds]
dannyNL has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
claudiuinberlin has joined #jruby
thedarkone2 has quit [Quit: thedarkone2]
pilhuhn has joined #jruby
pilhuhn has joined #jruby
raeoks has joined #jruby
pawnbox has joined #jruby
dannyNL has joined #jruby
dannyNL has quit [Client Quit]
dannyNL has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
olle has joined #jruby
olle has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 240 seconds]
pawnbox has joined #jruby
fedenusy has joined #jruby
fedenusy has quit [Client Quit]
prasunanand has joined #jruby
claudiuinberlin has joined #jruby
beawesomeinstead has quit [Read error: Connection reset by peer]
beawesomeinstead has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
dannyNL has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
claudiuinberlin has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
pawnbox has quit [Remote host closed the connection]
dannyNL has joined #jruby
dannyNL has quit [Client Quit]
blaxter has joined #jruby
fedenusy has joined #jruby
fedenusy has quit [Client Quit]
pawnbox has joined #jruby
fedenusy has joined #jruby
fedenusy has quit [Client Quit]
drbobbeaty has joined #jruby
<GitHub44> [jruby-openssl] heisee opened issue #104: "Bag Attributes" in a private_key.pem file throws a ClassCastException, while it works in MRI https://git.io/vir5T
shellac has joined #jruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dannyNL has joined #jruby
dannyNL has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
pilhuhn is now known as pil-afk
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #jruby
drbobbeaty has joined #jruby
fedenusy has joined #jruby
fedenusy has quit [Client Quit]
bbrowning_away is now known as bbrowning
dannyNL has joined #jruby
dannyNL has quit [Client Quit]
pil-afk is now known as pilhuhn
claudiuinberlin has quit [Remote host closed the connection]
johnsonch_afk is now known as johnsonch
bbrowning has quit [Ping timeout: 265 seconds]
bbrowning has joined #jruby
lance|afk is now known as lanceball
dannyNL has joined #jruby
pawnbox has quit [Remote host closed the connection]
dannyNL has quit [Client Quit]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 250 seconds]
pawnbox has joined #jruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
johnsonch is now known as johnsonch_afk
pawnbox has quit [Remote host closed the connection]
fedenusy has joined #jruby
fedenusy has quit [Client Quit]
pawnbox has joined #jruby
pawnbox has quit [Remote host closed the connection]
johnsonch_afk is now known as johnsonch
pawnbox has joined #jruby
tcrawley-away is now known as tcrawley
pawnbox has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #jruby
johnsonch is now known as johnsonch_afk
claudiuinberlin has quit [Ping timeout: 276 seconds]
johnsonch_afk is now known as johnsonch
<headius> good morning!
<headius> havenwood: why doesn't chruby save off those values once
<headius> they won't change
<headius> nirvdrum: today? I saw the project stuff yesterday
<headius> ahh JayL suggested that too
<headius> caching the values once
<GitHub70> [jruby] bjfish pushed 1 new commit to truffle-head: https://git.io/vioc9
<GitHub70> jruby/truffle-head 7ddb76a Brandon Fish: [Truffle] Update Fixnum/Complex#hash specializations
johnsonch is now known as johnsonch_afk
kegster has quit [Quit: Shiner, TX makes good beer.]
johnsonch_afk is now known as johnsonch
dannyNL has joined #jruby
johnsonch is now known as johnsonch_afk
nicksieger has joined #jruby
dannyNL has quit [Client Quit]
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
<GitHub159> [jruby] bjfish pushed 1 new commit to truffle-check-funcall: https://git.io/vioB3
<GitHub159> jruby/truffle-check-funcall 3a85306 Brandon Fish: [Truffle] Update unless test since undefined is truthy
nicksieger has joined #jruby
lanceball is now known as lance|afk
<GitHub84> [jruby] felixvf opened issue #4158: BigMath.log(Rational,...) produces garbage digits within the requested precision https://git.io/vioBS
johnsonch_afk is now known as johnsonch
<travis-ci> jruby/jruby (jruby-1_7:8aac6ac by Charles Oliver Nutter): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/159995217)
johnsonch is now known as johnsonch_afk
johnsonch_afk is now known as johnsonch
nicksieger has quit [Read error: Connection reset by peer]
johnsonch is now known as johnsonch_afk
thedarkone2 has joined #jruby
nicksieger has joined #jruby
johnsonch_afk is now known as johnsonch
<headius> garbage digits!
<headius> all digits are beautiful
<GitHub25> [jruby] bjfish pushed 1 new commit to truffle-check-funcall: https://git.io/vio0l
<GitHub25> jruby/truffle-check-funcall 40715f1 Brandon Fish: [Truffle] Code review updates, update default args
nicksieg_ has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieg_ has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
<travis-ci> jruby/jruby (truffle-check-funcall:3a85306 by Brandon Fish): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/160177577)
claudiuinberlin has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
olle has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
dannyNL has joined #jruby
prasunanand has quit [Ping timeout: 260 seconds]
fedenusy has joined #jruby
dannyNL has quit [Client Quit]
fedenusy has quit [Client Quit]
nicksieger has quit [Read error: Connection reset by peer]
lance|afk is now known as lanceball
<travis-ci> jruby/jruby (truffle-check-funcall:40715f1 by Brandon Fish): The build is still failing. (https://travis-ci.org/jruby/jruby/builds/160180649)
<GitHub64> [jruby] bjfish pushed 1 new commit to truffle-check-funcall: https://git.io/viory
<GitHub64> jruby/truffle-check-funcall b030e25 Brandon Fish: [Truffle] Implement more check_funcall_missing
prasunanand has joined #jruby
nicksieger has joined #jruby
<eregon> havenwood JayL: Acutally, on jruby, the default GEM_ROOT is usually good enough, maybe there should be a way to tell chruby to not set GEM_ vars.
pilhuhn is now known as pil-afk
camlow325 has joined #jruby
nicksieg_ has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
nicksieg_ has quit [Read error: Connection reset by peer]
prasunanand has quit [Ping timeout: 265 seconds]
nicksieger has quit [Read error: Connection reset by peer]
nicksieg_ has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
cprice404 has quit [Quit: Konversation terminated!]
claudiuinberlin has joined #jruby
hobodave has joined #jruby
<travis-ci> jruby/jruby (truffle-check-funcall:b030e25 by Brandon Fish): The build was fixed. (https://travis-ci.org/jruby/jruby/builds/160195052)
shellac has quit [Quit: Leaving]
nicksieger has joined #jruby
nicksieg_ has quit [Read error: Connection reset by peer]
claudiuinberlin has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #jruby
<GitHub120> [jruby] headius opened pull request #4159: Format initial string to specific precision, so rounding works. (master...sprintf_rounding) https://git.io/vioM5
dannyNL has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
dannyNL has quit [Client Quit]
dannyNL has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
<GitHub34> [jruby] bjfish pushed 1 new commit to truffle-head: https://git.io/vioHV
<GitHub34> jruby/truffle-head ac60bbe Brandon Fish: [Truffle] Fix Kernel#hash seed name
camlow325 has quit [Quit: WeeChat 1.5]
nicksieger has quit [Read error: Connection reset by peer]
<JayL> @eregon - I haven't stopped to ask why but it seems chruby needs to set GEM_HOME as part of its core feature set. Not quite sure why you'd select chruby over rvm but there must be a reason
nicksieger has joined #jruby
fedenusy has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
hobodave has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hobodave has joined #jruby
nicksieger has joined #jruby
<havenwood> JayL: RVM is tens of thousands of lines of shell. It even ships with support for chruby (MRVM). On the other hand chruby is a couple hundred lines of shell so it's much simpler overall and easier to maintain and debug.
<JayL> Yeah - definitely get the rationale - KISS vs big-assed-feature-set
<havenwood> eregon: I think we could get the RUBY_ENGINE and RUBY_VERSION from --version and have a flag to disable setting RUBY_ROOT. I'll look into that!
<JayL> See my comment on your issue - I propose a rather exotic (unlikely to be taken serious) solution plus the suggestion that headius and I suggest which is to cache/memoize in a file you manage.
<havenwood> JayL: Reading backlog! :-)
<JayL> havenwood - HTH, fun problem to think about
<GitHub7> [jruby] bjfish closed issue #3683: [Truffle] class_eval should allow negative line number https://git.io/vghQu
claudiuinberlin has quit [Remote host closed the connection]
<fedenusy> hello! jruby is throwing a NPE that crashes my server (https://github.com/jruby/warbler/issues/391). im now trying to get the stack trace for that NPE. ive tried various config flags (eg -Djruby.debug.fullTrace=true), but the stack trace never shows up. @kares mentioned it's possible to modify the jruby logger instance to make it print out stack tr
<fedenusy> aces -- does anyone know how to accomplish this?
rcvalle has joined #jruby
hobodave_ has joined #jruby
hobodave has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #jruby
claudiuinberlin has quit [Remote host closed the connection]
<GitHub120> [jruby] kares closed pull request #4126: Implement SignalException class (master...gh-3954-signal-exception) https://git.io/viIdZ
<GitHub121> [jruby] kares closed issue #3954: SignalException#signo (and signm) not defined. https://git.io/vokRM
<GitHub106> [jruby] kares pushed 4 new commits to master: https://git.io/vioN5
<GitHub106> jruby/master 08d64dc Konstantin Shabanov: Extract operations with signal name to fns
<GitHub106> jruby/master 6b793be Konstantin Shabanov: Also fix Interrupt class
<GitHub106> jruby/master ffa2c63 Konstantin Shabanov: Direct port of SignalException from MRI...
tmio has joined #jruby
nicksieg_ has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
cprice is now known as cprice404
nicksieg_ has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
claudiuinberlin has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
blaxter has quit [Quit: foo]
<kares> fedenusy: maybe it's not coming from JRuby than
<kares> recall there was a ERROR prefix printed - recent 9K has some formatting by default printed from the internal logger
<kares> maybe you should try go down a Java monitoring path (pretty sure some JVM tools allow to monitor/record exceptions generated by the VM) if you're still struggling with this
nicksieger has quit [Remote host closed the connection]
<travis-ci> jruby/jruby (master:2aabd98 by Karol Bucek): The build was broken. (https://travis-ci.org/jruby/jruby/builds/160225465)
dinfuehr_ has quit [Remote host closed the connection]
dinfuehr_ has joined #jruby
pawnbox has quit [Ping timeout: 265 seconds]
pawnbox has joined #jruby
camlow325 has joined #jruby
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
<GitHub142> [jruby] headius closed issue #4142: Leaking Classes since JRuby-9.1.x.x https://git.io/vicGx
nicksieger has joined #jruby
<fedenusy> kares: thanks, i'll look into JVM monitoring tools
tmio has quit [Quit: tmio]
nicksieger has quit [Read error: Connection reset by peer]
bbrowning is now known as bbrowning_away
nicksieger has joined #jruby
olle has quit [Quit: olle]
dinfuehr_ has quit [Remote host closed the connection]
dinfuehr_ has joined #jruby
dinfuehr_ has quit [Ping timeout: 272 seconds]
JayL has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
JayL has joined #jruby
jimbaker has joined #jruby
jimbaker has quit [Changing host]
lanceball is now known as lance|afk
nicksieger has quit [Read error: Connection reset by peer]
prasunanand has joined #jruby
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
bbrowning_away is now known as bbrowning
nicksieger has quit [Read error: Connection reset by peer]
nicksieger has joined #jruby
emakris has quit [Ping timeout: 244 seconds]
jimbaker is now known as jimbaker_
jimbaker_ is now known as jimbaker`
emakris has joined #jruby
jimbaker` is now known as jimbaker
claudiuinberlin has quit [Remote host closed the connection]
nicksieger has quit [Remote host closed the connection]
claudiuinberlin has joined #jruby
bbrowning_ has joined #jruby
bbrowning has quit [Ping timeout: 265 seconds]
camlow325 has quit [Ping timeout: 265 seconds]
pil-afk has quit [Quit: Computer has gone to sleep.]
tcrawley is now known as tcrawley-away
dannyNL has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
lance|afk is now known as lanceball
tmio has joined #jruby
claudiuinberlin has quit []
tmio has quit [Client Quit]
tmio has joined #jruby
nicksieger has joined #jruby
nicksieger has quit [Ping timeout: 264 seconds]
tmio has quit [Quit: tmio]
tmio has joined #jruby
prasunanand has quit [Ping timeout: 250 seconds]
tmio has quit [Client Quit]
dannyNL has joined #jruby
prasunanand has joined #jruby
tmio has joined #jruby
tmio has quit [Ping timeout: 248 seconds]
prasunanand has quit [Ping timeout: 248 seconds]
camlow325 has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_whitelogger has joined #jruby
bbrowning_ has quit [Ping timeout: 275 seconds]
talevy has joined #jruby
snim2_ has joined #jruby
CustosLimen has joined #jruby
cschneid has joined #jruby
bga57 has joined #jruby
lanceball is now known as lance|afk
hobodave_ has quit [Quit: Computer has gone to sleep.]
nicksieger has joined #jruby
nicksieger has quit [Read error: Connection reset by peer]
asarih has quit [Ping timeout: 265 seconds]
fedenusy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
marciol has joined #jruby
asarih has joined #jruby
pawnbox has quit [Remote host closed the connection]
thedarkone2 has quit [Ping timeout: 250 seconds]
thedarkone2_ has joined #jruby
thedarkone2_ is now known as thedarkone2
pawnbox has joined #jruby
marciol has quit []
pawnbox has quit [Ping timeout: 265 seconds]
rcvalle has quit [Quit: rcvalle]
prasunanand has joined #jruby