# Hackety Hack libs (as a gem)

**URL:** <https://www.ruby-forum.com/t/hackety-hack-libs-as-a-gem/105647>\
**Category:** Ruby\
**Created:** [June 1, 2007, 12:07am UTC](https://www.ruby-forum.com/t/hackety-hack-libs-as-a-gem/105647 "2007-06-01T00:07:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![S\_why](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@S\_why](https://www.ruby-forum.com/u/S_why)\
**Post date:** [June 1, 2007, 12:07am UTC](https://www.ruby-forum.com/t/hackety-hack-libs-as-a-gem/105647/1 "2007-06-01T00:07:20Z")

</div>

Good day, everyone.

It’s been a few weeks since the first versions of Hackety Hack were  
opened up to the web. H-ety H is a combo pack, Ruby built into a  
browser, designed to aid teaching and offer a simpler way for  
plain peoples to get into hacking.[1]

Since that time, I’ve been working on cleaning up the build process,  
porting H-ety H and organizing the libraries. This is why you may  
come to read announcements from time-to-time about the Hackety Hack  
gem.

gem install hacketyhack --source [http://code.whytheluckystiff.net](http://code.whytheluckystiff.net)

This gem includes all of the helpful libraries used to simplify  
and tie together Hackety Hack, so that you can use them at the  
console or wherever Ruby may greet you.

As an example, here is a script from the HH lessons:

Hacker(‘why’).load\_program(‘youtube.rb’)  
youtube\_vid = ask(“Enter the link to a YouTube video:”)  
save\_as = ask(“Your name for this video:”)  
YouTube.download(youtube\_vid, save\_as + “.flv”)

So, for example, the gem gives up all the methods for sharing hacks  
and using chat channels on the [hacketyhack.net](http://hacketyhack.net) site.

I’m afraid I’m a bit short on RDoc, but there is complete documentation  
in static/docs.txt of the gem directory. This will be remedied, I  
fully assure you in the calming, reassuring voice of Porky Pig.

\_why

[1] [http://hacketyhack.net/](http://hacketyhack.net/) ← linux version just released!

---

<div class="post-metadata">

**Author:** ![S\_why](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a3d4f5/32.png) [@S\_why](https://www.ruby-forum.com/u/S_why)\
**Post date:** [June 1, 2007, 4:03am UTC](https://www.ruby-forum.com/t/hackety-hack-libs-as-a-gem/105647/2 "2007-06-01T04:03:40Z")

</div>

On 5/31/07, \_why [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> gem.  
> youtube\_vid = ask(“Enter the link to a YouTube video:”)  
> \_why
> 
> [1] [http://hacketyhack.net/](http://hacketyhack.net/) ← linux version just released!

I know I am totally stoked! Hooray for a version that I can use as  
well!

(Thank you \_why. You taught me Ruby and DIDN’T EVEN KNOW IT.)
