Install JRuby

The driver for connecting to Data Warehouse is available only as a JDBC driver. No native library in Ruby is available.


  1. Install Ruby. We recommend that you use the Ruby Version Manager (RVM).  If you don’t have the RVM installed, visit Installing RVM

  2. Install the Java-based implementation of Ruby onto your local machine:

    $ rvm install jruby
  3. Switch to the installed version of JRuby:

    $ rvm use jruby
  4. (Optional) Make JRuby your default Ruby environment:

    $rvm --default use jruby

    To restore the original Ruby system as your default, use the following command:

    $rvm use system
  5. Verify your installed version of Ruby:

    $ ruby -v

    The output looks like the following:

    jruby 1.7.9 (1.9.3p392) 2013-12-06 87b108a on Java HotSpot(TM) 64-Bit Server VM 1.6.0_65-b14-462-11M4609 [darwin-x86_64]