Tag Archives: Ruby

Ruby: Debug in Eclipse

Prepare


http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem

Download eclipse

DLTK

http://mirrors.ibiblio.org/eclipse/technology/dltk/downloads/drops/R5.0/R-5.0-201306060709/dltk-sdk-I-201306060709.zip

  1. Open eclipse
  2. Help/Install New Software
    1. Choose
      1. Dynamic Languages Toolkit -Ruby Development Tools
      2. Dynamic Languages Toolkit -Ruby Development Tools SDK

Create new ruby project

  1. New/New Project/Ruby/Ruby Project
  2. Interpreter/Configure interpreters..
    1. >Search (To find the ruby environment)

Ruby: download, upload, delete..etc.. using S3Util.

 

Ruby: check status of job flow and job name.

 

Ruby: create hive job flow and add step with condition.

 

Ruby: create job flow and add job step by job id .