jmalves_ has quit [Remote host closed the connection]
shellac has joined #jruby
drbobbeaty has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
akp has quit [Remote host closed the connection]
akp has joined #jruby
akp has quit [Remote host closed the connection]
shellac has quit [Ping timeout: 264 seconds]
jmalves has joined #jruby
shellac has joined #jruby
drbobbeaty has joined #jruby
shellac has quit [Quit: Computer has gone to sleep.]
rdubya has joined #jruby
shellac has joined #jruby
shellac has quit [Client Quit]
shellac has joined #jruby
akp has joined #jruby
jmalves has quit [Remote host closed the connection]
jmalves has joined #jruby
Serah_Eley has joined #jruby
Serah_Eley has quit [Ping timeout: 260 seconds]
xardion has quit [Remote host closed the connection]
Serah_Eley has joined #jruby
<Serah_Eley>
Without digging in too much deeper yet, just from the class names in the trace, my guess is that Amazon's Linux image or Java runtime isn't setting whatever JNR Constants needs to recognize the platform correctly. Either that, or the restricted file write permissions (only writing to /tmp is allowed) are making some test or other fail.
xardion has joined #jruby
<Serah_Eley>
Can anyone help me understand this error better, and hopefully suggest a fix or workaround? If it's a matter of setting some environment variable or system property, I can do that.
<Serah_Eley>
(For the record, I tried downgrading to JRuby 9.1.17.0 and it simply failed more silently, with a no-details error at org.jruby.Ruby.init.)
<Serah_Eley>
Thanks in advance for any help you can offer. I've already put multiple woman-weeks of effort into just getting this far, and I'll be heartbroken if I have to rewrite our business code in something other than Ruby!
Eiam has joined #jruby
<Serah_Eley>
(...Blargh. Looking back at the logs, I think the IRC server may have removed my first few lines describing what I was asking for help with, because I pasted in a stacktrace and it seems to think that was spam. Nutshell is, I'm trying to run JRuby 9.2.0 in AWS Lambda on the Java8 runtime, and I'm getting a "Could not load platform constants for OpenFlags" error on initialization.)
<Serah_Eley>
Oh, excellent. I hadn't thought to look forward yet. Thank you! I'll try that right away and report back on whether it works or not!
<enebo>
Serah_Eley: we have went way too long without putting out 9.2.1.0 too so a lot has been fixed
<Serah_Eley>
I appreciate it. I did a lot of looking into whether anyone had examples of recent JRuby running in Lambda, and only found a couple of examples from much older versions. Given the Java hurdles I had to figure out to make it this far, I'm no longer surprised...
akp has quit [Remote host closed the connection]
shellac has quit [Quit: Computer has gone to sleep.]
<Serah_Eley>
Hi again... So at enebo's suggestion, I embedded the 9.2.1.0 nightly into my shadow jar and tried the AWS Lambda test again. I got the same "Could not load platform constants for OpenFlags" error.