<johnmuhl>
Is there any way to get the latest JRuby on travis without having to use the full version string (e.g. jruby-9.0.4.0)?
kstuart has quit [Quit: WeeChat 1.3]
blaxter has quit [Quit: foo]
kares has quit [Ping timeout: 255 seconds]
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #jruby
hobodave has joined #jruby
pawnbox has quit [Ping timeout: 250 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
elia_ has quit [Quit: Computer has gone to sleep.]
gaustin has quit [Quit: gaustin]
delsol has joined #jruby
<delsol>
when I try and run application in jruby, I get jruby: line 399: exec: java: not found
baroquebobcat has joined #jruby
subbu is now known as subbu|lunch
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 256 seconds]
Aethenelle has quit [Quit: Aethenelle]
subbu|lunch is now known as subbu
yfeldblum has joined #jruby
rsim has quit [Quit: Leaving.]
pawnbox has joined #jruby
Aethenelle has joined #jruby
<chrisseaton>
delsol: do you have Java installed?
pawnbox has quit [Ping timeout: 246 seconds]
<delsol>
yes
<chrisseaton>
delsol: is it on $PATH?
<chrisseaton>
when you run 'java' yourself does it work?
<delsol>
server:root-~> java -version
<delsol>
java version "1.8.0_05"
<delsol>
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
<delsol>
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
<chrisseaton>
try JAVACMD=`which java` jruby ...
<delsol>
ahh… its saying jruby not found...
<delsol>
thats odd, it was finding it earlier.
gaustin has joined #jruby
krainboltgreene has joined #jruby
<krainboltgreene>
headius: Hey, so I have a possibly super hard question: Is there any way to copy a method's signature to another object of a different class?
<krainboltgreene>
My last ditch effort is just source + eval.
yfeldblum has quit [Ping timeout: 264 seconds]
johnmuhl has quit [Quit: Connection closed for inactivity]
elia_ has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 255 seconds]
thedarkone2 has joined #jruby
<Papierkorb>
krainboltgreene: do you mean you want to copy a method from one object onto another one?
<krainboltgreene>
Papierkorb: Yes, but either tricking the instance class lookup or ignoring it.
<krainboltgreene>
Basically I want A.new.method(:b).unbind.bind(C.new) to work :P
<Papierkorb>
krainboltgreene: Ah no, sorry. I recently saw a talk from RSpec where a dev showed how they call Kernel#method on any object, but they only call the method on an object, not 'implant' it
yfeldblum has joined #jruby
delsol has quit [Quit: delsol]
<krainboltgreene>
Yeah. I'm creating a shadow object library. That's the annoying part, I know I can fulfill the needs of the method, but I have to be subclassed :/
<chrisseaton>
krainboltgreene: does A.new.method(:b).unbind.bind(C.new) not work then?
<krainboltgreene>
Yea. There's a low-level check for the type of the target.
<krainboltgreene>
Has to match (in essence) kind_of? # => true
<chrisseaton>
ah so I get the subclass restriction then
<chrisseaton>
you could probably easily write MRI and JRuby extensions to allow this
<krainboltgreene>
Yeah, that's my next step. I was hoping Charles knew some secret deep magic.
elia_ has quit [Quit: Computer has gone to sleep.]
<chrisseaton>
krainboltgreene: it would be nice if normal Ruby allowed this feature - the restriction isn't consistent with the rest of Ruby and its duck typing
<krainboltgreene>
Right?
<chrisseaton>
maybe write up a use-case and submit a bug to Ruby core
<krainboltgreene>
Nah. I've only had one good experience contributing to Ruby, and it was with jruby.
hobodave has quit [Ping timeout: 260 seconds]
elia_ has joined #jruby
pawnbox has joined #jruby
pawnbox has quit [Ping timeout: 240 seconds]
elia_ has quit [Quit: (IRC Client: textualapp.com)]
<GitHub147>
[jruby] envygeeks opened issue #3572: **kwd, call(**kwd) does not behave like MRI. http://git.io/vEFJK
pitr-ch has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<headius>
krainboltgreene: you could do it with jruby internal APIs but that's perhaps too far out of bounds