From: Josh Cheek Date: 2013-05-07T13:21:55+09:00 Subject: Re: Gem Help - Newbie Question --089e0122866c2b4c5904dc19283f Content-Type: text/plain; charset=ISO-8859-1 Based on the docs at http://pablotron.org/software/wirble/ You should be able to get it to work by typing: require 'wirble' Wirble.enable Wirble.colourize To avoid having to type that each time you load irb, you can put it in a file named .irbrc, located in your home directory. I don't know what the home directory is for Windows, but if you load irb and run `require 'etc'; Dir.home(Etc.getlogin)`, it will probably say (if that doesn't work, try `ENV['HOME']`) -Josh On Mon, May 6, 2013 at 9:19 PM, Michael Tepfer wrote: > Hi, > > I've just started using Ruby today and I am reading through the tutorial > and the tutorial shows the code in the IRB with syntax highlighting. > > I installed a gem called Wirble which is supposed to do that for me. > > How do I get the gem to work? > > I am using Windows 7. > > -- > Posted via http://www.ruby-forum.com/. > > --089e0122866c2b4c5904dc19283f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Based on the docs at=A0http://pablotron.org/software/wirble/

You should be able to get it to work by typing:

=
require 'wirble'
Wirble.enable
Wirble.colourize

To avoid havin= g to type that each time you load irb, you can put it in a file named .irbr= c, located in your home directory. I don't know what the home directory= is for Windows, but if you load irb and run =A0`require 'etc'; Dir= .home(Etc.getlogin)`, it will probably say (if that doesn't work, try `= ENV['HOME']`)=A0

-Josh



On Mon, May 6, 201= 3 at 9:19 PM, Michael Tepfer <lists@ruby-forum.com> wrote= :
Hi,

I've just started using Ruby today and I am reading through the tutoria= l
and the tutorial shows the code in the IRB with syntax highlighting.

I installed a gem called Wirble which is supposed to do that for me.

How do I get the gem to work?

I am using Windows 7.

--
Posted via http://= www.ruby-forum.com/.


--089e0122866c2b4c5904dc19283f--