Introduction

In this tutorial, we'll go over the steps required to install omnibus-ruby on Elementary OS. omnibus-ruby is a packaged Ruby environment designed to create self-contained, omnibus Ruby packages. We'll be installing omnibus-ruby from the source code available on https://github.com/chef/omnibus.

Prerequisites

Installing omnibus-ruby

  1. Open the terminal by pressing Ctrl + Alt + t.

  2. Clone the omnibus-ruby repository:

    git clone https://github.com/chef/omnibus.git
    
  3. Change directory to the cloned repository:

    cd omnibus
    
  4. Install bundler:

    gem install bundler
    
  5. Install the required Ruby Gems:

    bundle install
    
  6. Build the omnibus installer:

    bundle exec omnibus build omnibus-ruby
    
  7. Wait for the build to complete. Once the build is done, the package will be available in the pkg directory.

  8. Install the omnibus-ruby package:

    sudo dpkg -i pkg/omnibus-ruby*.deb
    
  9. Verify the installation by checking the version of omnibus-ruby:

    omnibus-ruby --version
    

    This should output the version of omnibus-ruby you just installed.

Congratulations, you have successfully installed omnibus-ruby on Elementary OS! You can now use it to create self-contained, omnibus Ruby packages.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!