Paul Pladijs
3/4/2008 2:46:00 PM
Hi,
Thanks for the responses.
I'm using Ruby version 1.8.4. It is installed from a one-click installer,
called 184-20, distributed by "The RubyInstaller Team".
My work environment is a virtual machine with Windows XP running on VMWare 5.5.2.
Thanks,
Paul.
Todd Benson wrote:
> On Mon, Mar 3, 2008 at 7:39 AM, Paul Pladijs <paul.pladijs@skynet.be> wrote:
>> Hi all,
>>
>> I'm using IRB in a DOS box on Windows XP. I'm experiencing problems with the
>> '#' sign.
>>
>> When typing the '#' sign, IRB puts the sign in front of the line, so the whole
>> line changes into a comment. Afterwards it shows a new prompt.
>>
>> Here is an example:
>>
>> I want to type this:
>>
>> a = 1
>> b = " #{a}"
>>
>>
>> When typing this in IRB I get:
>>
>> irb(main):001:0> a = 1
>> => 1
>> irb(main):002:0> #b = "
>> irb(main):003:0* {a}"
>> irb(main):004:0"
>>
>>
>> From the moment I type the '#' sign, this sign gets placed before the b variable.
>>
>> This makes IRB almost unusable for me :-(
>
> Maybe you should show your versions, and what you use for Ruby (like
> one-click install, cygwin, or mingw). That might allow people to help
> you a little.
>
> Todd
>