how to install ERb?

M

Malamute Jute

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.
 
C

Chad Fowler

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.

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
 
M

Malamute Jute

Chad said:
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.
 
D

David Vallner

--------------enigDF566AF37E1A7BE86168F1AE
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Malamute said:
=20
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=20
eRuby. its installed now but i have to manually make erb symlink to=20
/usr/bin/erb1.8.
=20
thanks chad. btw, i also have the rails recipes book and i hope i could= =20
read it soon once im comfortable with rails/ruby. thanks again.
=20

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


--------------enigDF566AF37E1A7BE86168F1AE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFhCr3y6MhrS8astoRAsARAJ96TSY3g4/kFjZ/pWqgyjsTCvkpxwCfQ/vF
z9u0F7HxHCHZZeZEJkt1f6s=
=1GDj
-----END PGP SIGNATURE-----

--------------enigDF566AF37E1A7BE86168F1AE--
 
D

dblack

Hi --

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)
 
Z

znmeb

Quoting (e-mail address removed):

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. :) 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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,221
Messages
2,571,133
Members
47,747
Latest member
swapote

Latest Threads

Top