Skip to content

Instantly share code, notes, and snippets.

@hiroyuki-sato
Last active June 28, 2023 04:57
Show Gist options
  • Save hiroyuki-sato/4a89d0eb8369cbe89a4ca0d28a311d74 to your computer and use it in GitHub Desktop.
Save hiroyuki-sato/4a89d0eb8369cbe89a4ca0d28a311d74 to your computer and use it in GitHub Desktop.
Embulk v0.11 setup

Install Embulk itself

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

Install JRuby

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

Setup embulk.properties

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

Install some gems

embulk gem install embulk
embulk gem install msgpack
embulk gem install liquid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment