This post originated from an RSS feed registered with Ruby Buzz
by Chad Fowler.
Original Post: RubyGem of the week - RVSH
Feed Title: ChadFowler.com
Feed URL: http://feeds2.feedburner.com/Chadfowlercom
Feed Description: Best practices, worst practices, and some generally obvious stuff about programming.
I’m not sure this will become a weekly habit, but I’ve been
enjoying Jim's "Module
Spotlights", and thought I’d do something similar to give a
little exposure to some of the nice RubyGems packages that
are now out there for the taking.
This week’s featured gem is RVSH. It was
created by Alexander
Kellett, and is a vim clone written in
_pure Ruby_!
So, if you’ve got the latest RubyGems distribution (go
get it!), you can do this:
$ sudo gem -Ri rvsh --install-stub
Attempting remote installation of 'rvsh'
Successfully installed rvsh version 0.4.5
$ rvsh RvshGem.rdoc
You’ll see something that looks like this:
(though if you’ve got your terminal configured properly, it will look
a lot better that this).
It’s still early in development, but it has a surprising number of
features implemented. I actually used it to create this weblog entry. I
think I could waste a few hours having fun hacking in features that I never
had the energy to do in vim script or Emacs Lisp.
Now that you’ve got the latest RubyGems distribution, try:
$ gem -R --list
There are a lot of lovely gems already out there. And, of course, armed
with the RubyGems distribution, you are now equipped to create more.