From: Quintus Date: 2010-10-09T22:51:14+09:00 Subject: Re: irb question -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 09.10.2010 14:46, schrieb Darren Nickerson: > Hi, > Iam starting to learn ruby, today is my first day actually working with > terminal and things are going pretty good. I just have a quick question, > when I go into irb the book I am reading ("Ruby novice to professional" > from apress ) tells me that there should be irb(main):001:0> each line, > but for me all I have is >> > all the ruby commands work fine. I just don't like not having the line > numbers. This is probably very simple but please help a newbie out. > Thanks for your time. Looks like something has set IRB to show the simple prompt instead of the default one. Do you have a ~/.irbrc file and if so, could you show the contents? For the meantime, try starting irb like this: irb --prompt-mode default This should show the normal prompt. Vale, Marvin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJMsHMWAAoJEGrS0YjAWTKVcPcH/1GAuz08HtcrZuxfEoP1ZK7B p6iuOhN7RNzD/EGulzljzcvQPKyifpYp/Xf7qFtx7ie1PHbNql0H+tq8LvB4FtB9 ZjVi/TvykfYACOrjdIktw6WIc1Aa0lp9rzquffywbb/aD8P/BDEl+bDOCOjC82oo d7Qv7LkdpH6Cz40hpZgNE2UWRGDIYajPVQwvv0WOzC5HQo4tSyHv2esr/Kgys6u0 U0NF5NAkSm2+U8XkfkWGU0S1Mcvlm+lbELxJYIKvOqoJctApJT99QplZb1H1AfUG K1p1XZXj7pzDcSjl7dFBu+Q/I9PGTulnXm5EohKwhXlz7PENndL7lzwjU+7ifoQ= =4RuX -----END PGP SIGNATURE-----