To be able to run Wasmer inside our Ruby application, we will need Ruby to be installed in our system.
To ensure it is installed, let's run the following:
ruby --version # This will show the Ruby version
Now it's time to create a new project and add Wasmer as a dependency:
mkdir wasmer-projectcd wasmer-project
You can now prepare your
source 'https://rubygems.org'gem 'wasmer'
And install everything using Bundler:
Next, let's take a look at some examples!