How to install ERb?

hi everyone. im reading and following the ruby for rails book and im on
ERb now. but when i run erb, i get command not found error. so i guess
its not installed by default with ruby?

how do i install it? and where do i get it? many thanks.

···

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

It's typically installed with the standard Ruby distribution. If
you're using a Linux system with split up Ruby packages, you may find
it in the list of additional packages to be installed.

Chad

···

On 12/16/06, Malamute Jute <mutedev@yahoo.co.uk> wrote:

hi everyone. im reading and following the ruby for rails book and im on
ERb now. but when i run erb, i get command not found error. so i guess
its not installed by default with ruby?

how do i install it? and where do i get it? many thanks.

Chad Fowler wrote:

It's typically installed with the standard Ruby distribution. If
you're using a Linux system with split up Ruby packages, you may find
it in the list of additional packages to be installed.

Chad

Actually i checked the synaptic (im using edgy eft) and didnt find the
'erb'. i checked again and this time i searched for 'ruby'. now i see
eRuby. its installed now but i have to manually make erb symlink to
/usr/bin/erb1.8.

thanks chad. btw, i also have the rails recipes book and i hope i could
read it soon once im comfortable with rails/ruby. thanks again.

···

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

Malamute Jute wrote:

Chad Fowler wrote:

It's typically installed with the standard Ruby distribution. If
you're using a Linux system with split up Ruby packages, you may find
it in the list of additional packages to be installed.

Chad

Actually i checked the synaptic (im using edgy eft) and didnt find the
'erb'. i checked again and this time i searched for 'ruby'. now i see
eRuby. its installed now but i have to manually make erb symlink to
/usr/bin/erb1.8.

thanks chad. btw, i also have the rails recipes book and i hope i could
read it soon once im comfortable with rails/ruby. thanks again.

Argh Debian deconstructivism. Isn't there a ticket to make a "full
distribution" metapackage for Ruby already? This always gets me on a new
Ubuntu install, for some reason irb and erb, and some of the standard
extensions aren't even recommended packages.

David Vallner

Hi --

···

On Sun, 17 Dec 2006, David Vallner wrote:

Malamute Jute wrote:

Chad Fowler wrote:

It's typically installed with the standard Ruby distribution. If
you're using a Linux system with split up Ruby packages, you may find
it in the list of additional packages to be installed.

Chad

Actually i checked the synaptic (im using edgy eft) and didnt find the
'erb'. i checked again and this time i searched for 'ruby'. now i see
eRuby. its installed now but i have to manually make erb symlink to
/usr/bin/erb1.8.

thanks chad. btw, i also have the rails recipes book and i hope i could
read it soon once im comfortable with rails/ruby. thanks again.

Argh Debian deconstructivism. Isn't there a ticket to make a "full
distribution" metapackage for Ruby already? This always gets me on a new
Ubuntu install, for some reason irb and erb, and some of the standard
extensions aren't even recommended packages.

It is tiresome. I always recommend installing Ruby from source, on
any machine where you can.

David

--
Q. What's a good holiday present for the serious Rails developer?
A. RUBY FOR RAILS by David A. Black (http://www.manning.com/black\)
    aka The Ruby book for Rails developers!
Q. Where can I get Ruby/Rails on-site training, consulting, coaching?
A. Ruby Power and Light, LLC (http://www.rubypal.com)

If this is still accurate, you could try this:

  http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/181150

But I think it's better to install ruby from source too.

···

On 12/17/06, David Vallner <david@vallner.net> wrote:

Argh Debian deconstructivism. Isn't there a ticket to make a "full
distribution" metapackage for Ruby already? This always gets me on a new
Ubuntu install, for some reason irb and erb, and some of the standard
extensions aren't even recommended packages.

Quoting dblack@wobblini.net:

It is tiresome. I always recommend installing Ruby from source, on
any machine where you can.

I'm starting to lean that way even on Gentoo, where it *is* installed from
source. :slight_smile: I guess we're waiting for Curt, Austin and MicroSoft to get the
Visual C stuff straightened out to make this a reality on Windows. Any recent
updates on that front?