[#4567] Re: What's the biggest Ruby development? — Aleksi Niemel<aleksi.niemela@...>

Dave said:

18 messages 2000/08/23
[#4568] Q's on Marshal — Robert Feldt <feldt@...> 2000/08/23

[#4580] RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/25

[#4584] Re: RubyUnit testcase run for different init params? — Dave Thomas <Dave@...> 2000/08/25

Robert Feldt <feldt@ce.chalmers.se> writes:

[#4623] Re: RubyUnit testcase run for different init params? — Robert Feldt <feldt@...> 2000/08/28

On Sat, 26 Aug 2000, Dave Thomas wrote:

[#4652] Andy and Dave's European Tour 2000 — Dave Thomas <Dave@...>

24 messages 2000/08/30
[#4653] Re: Andy and Dave's European Tour 2000 — matz@... (Yukihiro Matsumoto) 2000/08/30

Hi,

[#4657] Ruby tutorials for newbie — Kevin Liang <kevin@...> 2000/08/30

Hi,

[ruby-talk:4700] Re: Getting started

From: schneik@...
Date: 2000-08-31 19:25:37 UTC
List: ruby-talk #4700

[I originally posted this to comp.lang.ruby, but it apparently never made
it.]

Hi,

Steve Merrick wrote:
>
> Following the "getting started" from the Ruby User Guide, I typed
> >>ruby -v<< and I got >>ruby 1.4.0 (1999-08-13) [i386-cygwin]<<, as
> expected.
>
> Then I tried: >>ruby -le 'print "hello world\n"'<< and got >>ruby:0:
> Can't mktemp (fatal)<<.
>
> I have no idea what this means. If there's an answer in the FAQ or
> somewhere, I'm sorry, I can't find it. :-( Can anyone help, please? [I
> assume this is a very simple problem...]

That's an ancient version of Ruby, in web years. But the newer version
has a different variation on this.

Running under a Cygwin B20 bash shell under NT4, I got:

# ruby -v
ruby 1.4.5 (2000-06-26) [i386-mswin32]

# ruby -le 'print "Hello world!\n"'
C:\TEMP/rba00286:1: parse error
print ""Hello world!\n""
             ^
The extra quotes are puzzling clues to something, perhaps.

However, running under a so-called NT Command Prompt window, I got (with
the prompts trimmed):

>ruby -v
ruby 1.4.5 (2000-06-26) [i386-mswin32]

>ruby -le 'print "Hello world!\n"'
Hello world!

--
Conrad Schneiker
(This note is unofficial and subject to improvement without notice.)



In This Thread

Prev Next