The Rubyw.exe Thread

R

R.E.

I've looked at the FAQ, Ruby Docs, and Google on how to fix rubyw.exe
for Win XP and there is no help at all. I've tried i've seen and nothing
works. I have downloed both the one step install version AND the ZIP
file version and in both cases rubyw.exe doesn't seem to work. Doesn't
execute at all.

I don't really mind using just ruby.exe for all of my programming but
just as ong as I can make Tk and windowing apps.

Can anyone help?
 
A

ara.t.howard

I've looked at the FAQ, Ruby Docs, and Google on how to fix rubyw.exe
for Win XP and there is no help at all. I've tried i've seen and nothing
works. I have downloed both the one step install version AND the ZIP
file version and in both cases rubyw.exe doesn't seem to work. Doesn't
execute at all.

I don't really mind using just ruby.exe for all of my programming but
just as ong as I can make Tk and windowing apps.

Can anyone help?

explaining the problem would be a great start. what 'does not work' about
rubyw.exe?

-a
 
?

.. ..

unknown said:
explaining the problem would be a great start. what 'does not work'
about
rubyw.exe?

-a

Rubyw.exe doesn't execute at all.

Everything else is fine.

If I don't need Rubyw.exe and can make RubyTK and other things just fine
with the console, then I won't worry about it.

I have the latest version of Ruby and i'm using Windows XP.
 
R

Ryan Leavengood

I've looked at the FAQ, Ruby Docs, and Google on how to fix rubyw.exe
for Win XP and there is no help at all.

FWIW, I have no problems.

Running this code on Windows XP with rubyw.exe results in the image
linked below.

require 'fox16'

include Fox
theApp = FXApp.new
theMainWindow = FXMainWindow.new(theApp, "Hello", nil, nil, DECOR_ALL,
100, 100, 500, 400)
theApp.create
theMainWindow.show
theApp.run
__END__

Screenshot: http://ryanleavengood.com/files/rubyw_test.jpg

Ryan
 
S

stu

I've looked at the FAQ, Ruby Docs, and Google on how to fix rubyw.exe
for Win XP and there is no help at all. I've tried i've seen and nothing
works. I have downloed both the one step install version AND the ZIP
file version and in both cases rubyw.exe doesn't seem to work. Doesn't
execute at all.

I don't really mind using just ruby.exe for all of my programming but
just as ong as I can make Tk and windowing apps.

you do realise the only difference between ruby.exe and rubyw.exe is
that rubyw creates no output console window thats visible? so when you
run it, it looks like it might not actually be running....

-stu
 
A

ara.t.howard

Rubyw.exe doesn't execute at all.

you mean it does nothing - or that it executes and crashes? it's not supposed
to 'do' anything by iteself. show us the code you are running in it.

-a
 
?

.. ..

I see, sorry. Total waste of time.
I thought it was a Ruby GUI where you could enter the commands..like
Python.
My mistake.
 
P

Phillip Gawlowski

.. .. said:
I see, sorry. Total waste of time.
I thought it was a Ruby GUI where you could enter the commands..like
Python.
My mistake.

That'd be irb (Interactive Ruby). open a command window (cmd.exe), and
launch irb.

--
Phillip "CynicalRyan" Gawlowski
http://cynicalryan.110mb.com/

Rule of Open-Source Programming #15:

If you like it, let the author know. If you hate it, let the author
know why.
 
A

Anders Persson

You know there is one like this, start a shell and enter IRB
if you want more GUI like there is a FOX BASED called fxirb
Search for it and there is a description how to install it with
Ruby's gem.
// Anders

2 apr 2007 kl. 19.19 skrev .. ..:
I see, sorry. Total waste of time.
I thought it was a Ruby GUI where you could enter the commands..like
Python.
My mistake.

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

med v=E4nliga h=E4lsningar
Anders Persson
____________________________________
(e-mail address removed)
 
R

Ryan Leavengood

You know there is one like this, start a shell and enter IRB
if you want more GUI like there is a FOX BASED called fxirb
Search for it and there is a description how to install it with
Ruby's gem.

That is a good point. But the Fox tool is called fxri and it is
included in the Ruby One-Click Installer for Windows. It is in the
start menu entry for Ruby.

Ryan
 

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

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,189
Latest member
CryptoTaxSoftware

Latest Threads

Top