Path: | INSTALL |
Last Update: | Wed Feb 25 20:41:14 -0700 2009 |
RubyGems is the preferred easy install method for HighLine. However, you can install HighLine manually as described below.
HighLine is intended to be installed via the RubyGems system. To get the latest version, simply enter the following into your command prompt:
$ sudo gem install highline
You must have RubyGems installed for the above to work.
Download the latest version of HighLine from the RubyForge project page. Navigate to the root project directory and enter:
$ sudo ruby setup.rb
While not a requirement, HighLine will take advantage of the termios library if installed (on Unix). This slightly improves HighLine‘s character reading capabilities and thus is recommended for all Unix users.
If using the HighLine gem, you should be able to add termios as easily as:
$ sudo gem install termios
For manual installs, consult the termios documentation.