Trouble with IRB

I’m having trouble getting IRB to work.
I’m using Ruby 1.6.8 under Win2000.

When I run irb, this is what I get:

C:\ruby\lib\ruby\1.6/tempfile.rb:46:in initialize': cannot generate tempfileC:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/C_\ruby\lib\ruby\1_6_irb_lc_error_rb1212
…9’ (RuntimeError)
from C:\ruby\lib\ruby\1.6/irb/locale.rb:131:in new' from C:\ruby\lib\ruby\1.6/irb/locale.rb:131:inreal_load’
from C:\ruby\lib\ruby\1.6/irb/locale.rb:121:in load' from C:\ruby\lib\ruby\1.6/irb/locale.rb:119:ineach’
from C:\ruby\lib\ruby\1.6/irb/locale.rb:119:in load' from C:\ruby\lib\ruby\1.6/irb/init.rb:105:ininit_error’
from C:\ruby\lib\ruby\1.6/irb/init.rb:18:in initialize' from C:\ruby\lib\ruby\1.6/irb.rb:50:instart’
from c:\ruby\bin\irb:13

Any ideas?

Pete

···

---- Pete LeMay starflow7@attbi.com
home.attbi.com/~starflow7 --------------------------------------------------

Maybe your environmental variable contains a non existing directory.
You’ll have to check TMPDIR, TMP, or TEMP.

robert

“Pete LeMay” starflow7@attbi.com schrieb im Newsbeitrag
news:dYjfa.194139$3D1.38904@sccrnsc01…

I’m having trouble getting IRB to work.
I’m using Ruby 1.6.8 under Win2000.

When I run irb, this is what I get:

C:\ruby\lib\ruby\1.6/tempfile.rb:46:in `initialize’: cannot generate
tempfile

`C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/C_\ruby\lib\ruby\1_6_irb_lc_error_rb12
12

···

.9’ (RuntimeError)
from C:\ruby\lib\ruby\1.6/irb/locale.rb:131:in new' from C:\ruby\lib\ruby\1.6/irb/locale.rb:131:in real_load’
from C:\ruby\lib\ruby\1.6/irb/locale.rb:121:in load' from C:\ruby\lib\ruby\1.6/irb/locale.rb:119:in each’
from C:\ruby\lib\ruby\1.6/irb/locale.rb:119:in load' from C:\ruby\lib\ruby\1.6/irb/init.rb:105:in init_error’
from C:\ruby\lib\ruby\1.6/irb/init.rb:18:in initialize' from C:\ruby\lib\ruby\1.6/irb.rb:50:in start’
from c:\ruby\bin\irb:13

Any ideas?

Pete



---- Pete LeMay starflow7@attbi.com

home.attbi.com/~starflow7 ------------------------------------------------


Thanks for the reply.
irb seems to work now.
I don’t know why.

Now I’m having trouble with ri and sqlsh.rb. – separate thread

Robert Klemme wrote:

···

Maybe your environmental variable contains a non existing directory.
You’ll have to check TMPDIR, TMP, or TEMP.

robert

“Pete LeMay” starflow7@attbi.com schrieb im Newsbeitrag
news:dYjfa.194139$3D1.38904@sccrnsc01…

I’m having trouble getting IRB to work.
I’m using Ruby 1.6.8 under Win2000.

When I run irb, this is what I get:

C:\ruby\lib\ruby\1.6/tempfile.rb:46:in `initialize’: cannot generate
tempfile

`C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp/C_\ruby\lib\ruby\1_6_irb_lc_error_rb12
12

.9’ (RuntimeError)
from C:\ruby\lib\ruby\1.6/irb/locale.rb:131:in new' from C:\ruby\lib\ruby\1.6/irb/locale.rb:131:in real_load’
from C:\ruby\lib\ruby\1.6/irb/locale.rb:121:in load' from C:\ruby\lib\ruby\1.6/irb/locale.rb:119:in each’
from C:\ruby\lib\ruby\1.6/irb/locale.rb:119:in load' from C:\ruby\lib\ruby\1.6/irb/init.rb:105:in init_error’
from C:\ruby\lib\ruby\1.6/irb/init.rb:18:in initialize' from C:\ruby\lib\ruby\1.6/irb.rb:50:in start’
from c:\ruby\bin\irb:13

Any ideas?

Pete



---- Pete LeMay starflow7@attbi.com

home.attbi.com/~starflow7 ------------------------------------------------