characters '{', '[' in irb

E

Emil Sandin

I have two computers (Windows XP on both) where Ruby is installed. On
one of them everything is working fine, but the other one isn't. If I
copy these lines:

{"one" => 1}
["one", "two", "three"]

and paste it into irb I get this instead:

"one" => 1
"one", "two", "three"

And then I get syntax error for both.

Why isn't all of the characters copied? It's also impossible to type
these characters.

Regards
Emil
 

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

Similar Threads


Members online

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top