Install Instructions

Requirements

  • Ruby

  • Glade Interface Designer

Linux, Ubuntu

Install a ruby version manager like rbenv or RVM. This is necessary because they will install ruby under your $HOME directory where you have permissions to install it.

to test your install of ruby, run this at the prompt:

which ruby

This should show that your version is under your home directory. Then Run:

gem install visualruby

Then run visualruby:

vr

Next, install the Glade interface designer. Ubuntu users can find it in the software center or all Linux users can install it with their package manager:

sudo apt install glade

Windows Install

Install Ruby

First, download the Windows Ruby Installer. Choose a download that includes the DevKit. Visualruby, Glade and Gtk+ need that DevKit.

The windows system will try to fight you downloading anything that they don’t profit from so you need to select “keep” file. And run it anyway. When you click on it, you may need to select “Show More” then select “keep” before it will let you execute it.

Just install with all defaults that includes MSYS2 which is also necessary. After, all this completes, you will find a “Command Prompt with Ruby” option added to the windows menu. Select it, and open the prompt.

Install Glade

Now you will need to install the Glade Interface Designer This is a MSYS2 package that you can install at the Ruby command prompt:

pacman -S mingw-w64-x86_64-glade

When this completes, glade will be installed, but it may not work because the windows %PATH% variable needs to be updated to include the path to the glade.exe file. To get glade to run, you will need to add its path in windows settings. In windows go to:

Settings > System > About > Advanced System Settings > Environment Variables > Path > Edit

Here you can add the path to glade.exe, so the command prompt can find it.

Add this path:

C:\Ruby33-x64\msys64\mingw64\bin

If for some reason, this doesn’t match your path, just find the path to glade.exe using windows commander, and enter the correct path. But this path should be right.

Once, you’ve changed the path, you need to save/close everything to have the changes take effect. So click “ok/save” for all settings, and restart the Ruby command prompt. When you’ve sucessfully added the path, it will show on the Ruby command prompt:

Success! Now, at the prompt, you can run:

glade

Install VisualRuby Gem

At the “Ruby Command Prompt”, run:

gem install visualruby

Then run the command to start visualruby:

vr

Visualruby will open, and you can double-click on the glade files to use the Glade Designer.