add tests for ruby/jruby

This pull request adds a test for Ruby / JRuby. The Makefile was modified to add ruby and jruby options.