-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
SneaQL runs on jruby, the ruby language implemented in java. Jruby allows for the use of JDBC, which reduces the complexity in configuring database connections.
The best way to install jruby on OSX is using the following applications:
- Homebrew - a package manager for OSX
- rbenv - a ruby environment manager
- ruby-build - an extension to rbenv which allows for easy ruby install
The following commands should be run in the terminal app, and will install all three of the above applications:
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install rbenv ruby-build
Once rbenv and ruby-build are installed... you can install and configure jruby using the following commands:
rbenv install jruby-9.1.5.0
rbenv global jruby-9.1.5.0
Add the following to your ~/.bash_profile:
if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
Please note that this will make jruby the default version of ruby for your system. If you need to use other versions of ruby for other tasks please read up on how to use rbenv.
To install jruby on windows you will need to download the appropriate installer from the jruby website:
Now that jruby is installed... installing SneaQL is easy:
gem install sneaql
rbenv rehash
At this point you should be able to use the Command Line Interface.
- assign
- assign_result
- execute
- execute_if
- test
- exit_if
- exit_step_if
- recordset
- remove_recordset
- iterate
- on_error
Configuration
-
Command Reference