[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

problem with running foxruby on windows 2000

Mohsen Akhavan

1/10/2006 8:30:00 AM

Hello How are you ,I installed ruby 1.8.2 with fxruby 1.2.6 for
windows ,I use windows 2000 ,I want to do the foxruby tutorials and I
need to run foxruby ,but I donâ??t know realy how to do it in windows 2000
,I donâ??t know how to run fox ruby on windows 2000 to do the tutorial
please help me because when If I canâ??t install foxruby I canâ??t do
anything.

sincrely yours Mohsena

--
Posted via http://www.ruby-....


8 Answers

Alexander Fleck

1/10/2006 8:38:00 AM

0

Hi,
you' ve already installed fxruby? Then just try the tutorials. Notice the 'require 'fox'' statement. Perhaps you need to change that to fox12 or fox14, according to your installed ruby version. You then can run your fox apps like common ruby scripts.
Alex.

mohsena

1/10/2006 9:25:00 AM

0

Hello and thank you very much for your attention ,in which directory
should I use require ? should I use windows dos prompt?
sincerely yours Mohsena

Alexander Fleck

1/10/2006 9:37:00 AM

0

When you' ve installed ruby on 2K, you can double-click your script file. You don' t need to give a path by require.

Mohsen Akhavan

1/10/2006 9:46:00 AM

0

Hello and thank you very much for your attention:
I use 'require 'fox12'' and 'require 'fox'14' and it didn't work and
it send me back this error:require is not recognized as an internal or
external command,operable or batch file
sincerely yours Mohsena

--
Posted via http://www.ruby-....


Alexander Fleck

1/10/2006 9:58:00 AM

0

Did you use the One-Click-Installer for Windows?

Fernando Allen

1/10/2006 10:24:00 AM

0

If you installed ruby with the One-Click-Installer for Windows, try
using this to require the FxRuby lib:

require 'rubygems'
require_gem 'fxruby'


2006/1/10, Mohsen Akhavan <cplus_developer@yahoo.com>:
> Hello and thank you very much for your attention:
> I use 'require 'fox12'' and 'require 'fox'14' and it didn't work and
> it send me back this error:require is not recognized as an internal or
> external command,operable or batch file
> sincerely yours Mohsena
>
> --
> Posted via http://www.ruby-....
>
>

--
Fernando Allen Marques de Oliveira


David Vallner

1/10/2006 10:48:00 AM

0

While we're at it, did anyone else encounter a problem where FOX dialog
windows open notably off the top left edge of the screen? I've had that
happen with the FreeRIDE options dialog and some of the widget sample
ones when I use a theme with Extra Large 120dpi fonts.

David Vallner
Still unconvinced about FOX


Mohsen Akhavan

1/10/2006 3:29:00 PM

0

David Vallner wrote:
> While we're at it, did anyone else encounter a problem where FOX dialog
> windows open notably off the top left edge of the screen? I've had that
> happen with the FreeRIDE options dialog and some of the widget sample
> ones when I use a theme with Extra Large 120dpi fonts.
>
> David Vallner
> Still unconvinced about FOX

Hello and Thank you very much "Fernando Allen" ,realy the require
'rubygems'
didnâ??t work but require_gem 'fxruby' worked and I wrote the first
foxruby application ,I should mention that I have the same problem that
"David Vallner" encountered it means FOX dialog windows open notaly off
the top edge of the screen .any one has any clue about this please.

sincerely yours Mohsena

--
Posted via http://www.ruby-....