Install JRuby
The driver for connecting to Data Warehouse is available only as a JDBC driver. No native library in Ruby is available.
Steps:
Install Ruby. We recommend that you use the Ruby Version Manager (RVM). If you don’t have the RVM installed, visit Installing RVM.
Install the Java-based implementation of Ruby onto your local machine:
$ rvm install jruby
Switch to the installed version of JRuby:
$ rvm use jruby
(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
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]