Skip to content

Instantly share code, notes, and snippets.

@ondreian
Last active October 24, 2016 16:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ondreian/5c52c151960d07d4a43e498458bea642 to your computer and use it in GitHub Desktop.
Save ondreian/5c52c151960d07d4a43e498458bea642 to your computer and use it in GitHub Desktop.
How To Use Alvis

Step 1: Installing Alvis

;repo install alvis.rb

Step 2: Installing Dependencies

Alvis depends on an external "gem", which are modules that add utilities to your programs.

To be able to use it, you must have installed the gem command line executable (program) that comes with Ruby, and added it to your $PATH (a way for programs to find other programs). this is not in the default directions when installing Ruby from lichproject.org

it sounds scary; it's not, and can usually be remedied with 1 additional step when installing Ruby

type or copy this command into your front end (Stormfront, Wizard, Avalon, Profanity):

;e echo (if %x{gem install Olib}.match(/Success/) then "SUCCESS >>> go to step 4" end)

If you see SUCCESS >>> go to step 4 then go to step 4.

If you see --- Exception: No such file or directory - gem then go to step 3.

Step 3: Reinstalling Ruby with gem

READ THE ENTIRETY OF THESE DIRECTIONS BEFORE BEGINNING

Reinstall Ruby following the directions on lichproject.org with one additional step.

On the same menu that you:

Check the checkbox next to "Associate .rb and .rbw files with this Ruby installation".

It should look something like this:

menu image

Also:

Check the checkbox that says "add exectuables to %PATH%"

Step 4: Run Alvis

Run alvis by typing: ;alvis

and then follow the interactive menu for signing up:

signup

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment