Highline – Ruby Gem

HighLine is about…

Saving time.

Command line interfaces are meant to be easy. So why shouldn’t building them be easy, too? HighLine provides a solid toolset to help you get the job done cleanly so you can focus on the real task at hand, your task.

Clean and intuitive design.

Want to get a taste for how HighLine is used? Take a look at this simple example, which asks a user for a zip code, automatically does validation, and returns the result:


require “highline/import”

zipcode = ask(“Zip?  “) { |zip| zip.validate = /\A\d{5}(?:-?\d{4})?\Z/ }

Hassle-free Installation.

Installation is easy via RubyGems. Simply enter the command:

linux :   sudo gem install highline

Windows:  gem install highline

and you’ll be on your way! Of course, manual installation is an option, too.

For more details


2 thoughts on “Highline – Ruby Gem

  1. What version of ruby or other dependencies does it have? “gem install highline” gives me a core dump.

    ruby -v
    ruby 1.8.6 (2010-02-05 patchlevel 399) [x86_64-linux]

    # gem install highline
    *** buffer overflow detected ***: /usr/bin/ruby terminated
    ======= Backtrace: =========

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s