curl --create-dirs -o ~/.embulk/bin/embulk -L "https://dl.embulk.org/embulk-latest.jar"
chmod +x ~/.embulk/bin/embulk
echo 'export PATH="$HOME/.embulk/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc
Download JRuby from JRuby.org And put it any place.
# https://repo1.maven.org/maven2/org/jruby/jruby-complete/9.x.y.z/jruby-complete-9.4.3.0.jar
# curl --create-dirs -o ~/.embulk/jars/jruby-complete-9.4.3.0.jar https://repo1.maven.org/maven2/org/jruby/jruby-complete/9.4.3.0/jruby-complete-9.4.3.0.jar
Create the embulk.properties
file in the $HOME/.embulk
directory.
# embulk.properties
jruby=file:///path/to/jruby-complete-9.x.y.z.jar
# jruby=file:///root/.embulk/jars/jruby-complete-9.4.3.0.jar
embulk gem install embulk
embulk gem install msgpack
embulk gem install liquid