To integrate ONLYOFFICE Document Builder into your own application on Ruby you need to download and install ONLYOFFICE Document Builder to your computer and use the Ruby example for the integration. We will show how to run the Ruby example on Linux OS.
First, download ONLYOFFICE Document Builder and install it to your computer.
gpg --keyserver "hkp://keys.gnupg.net" --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \curl -sSL https://get.rvm.io | bash -s stable --rails
sudo apt-get install curl
wget "https://github.com/ONLYOFFICE/document-builder-integration/releases/latest/download/Ruby.Example.zip" unzip Ruby.Example.zip
cd ~/Ruby\ Example/
gem install bundler
echo "source $HOME/.rvm/scripts/rvm" >> ~/.bash_profile
rails s -b 0.0.0.0 -p 80
Now you will be able to see the result in your browser using the http://localhost address or using the computer address in your local network.
If you want to experiment with the code changes, you can find the main application code in the ~/app/controllers/main_page_controller.rb control.