Newbie prompt help

Hello all,

I am new to programing, and especially new to Ruby.
I just downloaded it on my MAC and am going through my Begining Ruby"
tutorial.

I've gotten the correct response for "ruby -v", but when I type "irb"
into the command prompt but the result I get is ">>" not
"irb(main):001:0>"

I don't know what I did wrong, and it's making me want to hit my head
against a wall.
Please help:)

···

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

Well I'm not a Mac user but that means the shell is working? That's the
only explanation. Try Ruby --help...

···

On Sun, Jan 20, 2013 at 9:22 PM, Ilya Gershov <lists@ruby-forum.com> wrote:

Hello all,

I am new to programing, and especially new to Ruby.
I just downloaded it on my MAC and am going through my Begining Ruby"
tutorial.

I've gotten the correct response for "ruby -v", but when I type "irb"
into the command prompt but the result I get is ">>" not
"irb(main):001:0>"

I don't know what I did wrong, and it's making me want to hit my head
against a wall.
Please help:)

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

Hi, I don't know offhand what is causing the difference (maybe some version
of Ruby has set the prompt differently in irb), BUT I do know it isn't a
problem. The ">>" is just a different way of saying "type your code here".
The makeup of the prompt isn't particularly important, the most important
thing is just that it shows up and you can evaluate code there.

···

On Sun, Jan 20, 2013 at 8:22 PM, Ilya Gershov <lists@ruby-forum.com> wrote:

Hello all,

I am new to programing, and especially new to Ruby.
I just downloaded it on my MAC and am going through my Begining Ruby"
tutorial.

I've gotten the correct response for "ruby -v", but when I type "irb"
into the command prompt but the result I get is ">>" not
"irb(main):001:0>"

I don't know what I did wrong, and it's making me want to hit my head
against a wall.
Please help:)

which irb
/usr/bin/irb is too old. using /usr/local/bin/irb.
or install pry instead irb.

···

2013/1/21 Ilya Gershov <lists@ruby-forum.com>

Hello all,

I am new to programing, and especially new to Ruby.
I just downloaded it on my MAC and am going through my Begining Ruby"
tutorial.

I've gotten the correct response for "ruby -v", but when I type "irb"
into the command prompt but the result I get is ">>" not
"irb(main):001:0>"

I don't know what I did wrong, and it's making me want to hit my head
against a wall.
Please help:)

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

You can use *irb --prompt default* instead of only irb

···

On Mon, Jan 21, 2013 at 4:22 AM, Ilya Gershov <lists@ruby-forum.com> wrote:

Hello all,

I am new to programing, and especially new to Ruby.
I just downloaded it on my MAC and am going through my Begining Ruby"
tutorial.

I've gotten the correct response for "ruby -v", but when I type "irb"
into the command prompt but the result I get is ">>" not
"irb(main):001:0>"

I don't know what I did wrong, and it's making me want to hit my head
against a wall.
Please help:)

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

Hello,

Hello all,

I am new to programing, and especially new to Ruby.
I just downloaded it on my MAC and am going through my Begining Ruby"
tutorial.

I've gotten the correct response for "ruby -v", but when I type "irb"
into the command prompt but the result I get is ">>" not
"irb(main):001:0>"

I don't know what I did wrong, and it's making me want to hit my head
against a wall.
Please help:)

Best thing is to install ruby-1.9.3. The default ruby is deprecated under macosx.

Search for a guide online, there are more than I can count :slight_smile:

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

Panagiotis (atmosx) Atmatzidis

email: atma@convalesco.org
URL: http://www.convalesco.org
GnuPG ID: 0xE736C6A0
gpg --keyserver x-hkp://pgp.mit.edu --recv-keys 0xE736C6A0

···

On 21 Ιαν 2013, at 03:22 , Ilya Gershov <lists@ruby-forum.com> wrote:
--
The wise man said: "Never argue with an idiot. They bring you down to their level and beat you with experience."

On Linux this happens when I pass --simple-prompt to irb

···

On 1/21/13, SITKI BAGDAT <sbagdat@gmail.com> wrote:

You can use *irb --prompt default* instead of only irb

On Mon, Jan 21, 2013 at 4:22 AM, Ilya Gershov <lists@ruby-forum.com> wrote:

Hello all,

I am new to programing, and especially new to Ruby.
I just downloaded it on my MAC and am going through my Begining Ruby"
tutorial.

I've gotten the correct response for "ruby -v", but when I type "irb"
into the command prompt but the result I get is ">>" not
"irb(main):001:0>"

I don't know what I did wrong, and it's making me want to hit my head
against a wall.
Please help:)

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