Slide 1

Slide 1 text

“Intro”  to  JRuby   Jay  McGaffigan  

Slide 2

Slide 2 text

Me,  Myself,  and  I   •  Developer  at  Decision  Resources  Group   •  Twi@er:  @hooligan495  

Slide 3

Slide 3 text

It’s  ruby   •  Installs  with  RVM   •  Download  a  distribuIon   •  Even  on  Windows  

Slide 4

Slide 4 text

Rails   •  Yep…  

Slide 5

Slide 5 text

Some  things  are  different  

Slide 6

Slide 6 text

Not  a  Unified  Gemset   •  ImageMagick  vs  Rmagick   •  Cextensions  aren’t  fully  supported  (never  will   be  considered  ProducIon)   •  Might  have  to  write  a  java  extension  

Slide 7

Slide 7 text

Deploying   •  It’s  different  but  not  “new”  

Slide 8

Slide 8 text

Java  integraIon   •  Calling  Java  Libraries     •  Give  Java  a  Ruby  syntax  

Slide 9

Slide 9 text

Things  to  be  aware  of   •  Startup   •  JVM  tuning  and  warmup   •  Forking  processes   •  Threading  

Slide 10

Slide 10 text

Why  Did  we  Choose  JRuby   •  Ruby  in  the  “enterprise”   •  Selling  a  product   •  Fit  into  customers  “labs”  

Slide 11

Slide 11 text

Resources   •  h@p://www.jruby.org   – Ge_ng  started   – Wiki   – IRC   Tom  Enebo,  Charles  Nu@er,  Nick  Sieger,  and  others   whose  names  I  forget  are  always  up  for  answering  a   quesIon  

Slide 12

Slide 12 text

Always  looking  for  help   •  Grab  a  bug  and  work  to  fix  it   •  Grab  a  gem  (rcov)  and  ensure  Jruby   compaIbility