Forum: Ruby one click installer, fxruby

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
3a0d61d465c296f7f291b5bd09c90a4a?d=identicon&s=25 tony summerfelt (Guest)
on 2006-05-25 16:42
(Received via mailing list)
i was using an older version of the one click installer, but i could
never get any fxruby programs to run. so i updated with the latest rc
version

fxruby programs STILL don't run. now i'm wondering if there's
something special i need to do to get it working?

http://home.cogeco.ca/~tsummerfelt1
telnet://ventedspleen.dyndns.org
48d1aca7191f2d16e184971054c7c143?d=identicon&s=25 Meinrad Recheis (Guest)
on 2006-05-25 17:13
(Received via mailing list)
On 5/25/06, tony summerfelt <snowzone5@hotmail.com> wrote:
> i was using an older version of the one click installer, but i could
> never get any fxruby programs to run. so i updated with the latest rc
> version
>
> fxruby programs STILL don't run. now i'm wondering if there's
> something special i need to do to get it working?

could you give more info about the error? i.e. output of an fxruby
example on the shell
otherwise we can only guess what's wrong. maybe it's because the
RUBYOPT environment variable has not been set to "rubygems"
hth,
-- henon
3a0d61d465c296f7f291b5bd09c90a4a?d=identicon&s=25 tony summerfelt (Guest)
on 2006-05-25 20:09
(Received via mailing list)
On Fri, 26 May 2006 00:11:14 +0900, you wrote:

>could you give more info about the error?

i just double clicked on the examples in

ruby\lib\ruby\gems\1.8\gems\fxruby-1.4.6-mswin32\examples

> i.e. output of an fxruby example on the shell

running button.rb onn the cmd line in the above directy:

button.rb:3:in `require': no such file to load -- fox14 (LoadError)
        from button.rb:3

> maybe it's because the RUBYOPT environment variable has not
> been set to "rubygems"

using set RUBYOPT=-rubygems on the command line worked...

i was under the impression the one click installer did that for me.

it still won't run when double clicked even though the rubyopt
environment variable is in both my user account and system wide
environment settings .

i can't get foxguib to run by double clicking OR via cmd line with
rubyopt set.

i seem to be jumping through a lot of hoops to get simple gui programs
running :/

http://home.cogeco.ca/~tsummerfelt1
telnet://ventedspleen.dyndns.org
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2006-05-25 20:09
(Received via mailing list)
Also, the one-click installer includes two FXRuby programs that you
should
be able to run to verify that everything is properly installed:
FreeRIDE
and fxri. You can find shortcuts to run them in the start menu.

Curt
C475cffda1800fbc3f3af17bc10c220f?d=identicon&s=25 Curt Hibbs (Guest)
on 2006-05-25 20:16
(Received via mailing list)
The installer should have set RUBYOPT. It should also set the file
associate
that lets you double-click on those files. Are you running 184-17? If
so,
then something went wrong with your installation (do you have
adminitsrator
privileges?), and I would suggest that you uninstall and then reinstall.
3a0d61d465c296f7f291b5bd09c90a4a?d=identicon&s=25 tony summerfelt (Guest)
on 2006-05-25 20:22
(Received via mailing list)
On Fri, 26 May 2006 03:08:32 +0900, you wrote:

>Also, the one-click installer includes two FXRuby programs that you should
>be able to run to verify that everything is properly installed:  FreeRIDE
>and fxri. You can find shortcuts to run them in the start menu.

and both of those run. via the batch file in the ruby\bin directory.
that's why i posted. i figured the fxruby examples would run also...

http://home.cogeco.ca/~tsummerfelt1
telnet://ventedspleen.dyndns.org
3a0d61d465c296f7f291b5bd09c90a4a?d=identicon&s=25 tony summerfelt (Guest)
on 2006-05-25 20:44
(Received via mailing list)
On Fri, 26 May 2006 03:12:52 +0900, you wrote:

>The installer should have set RUBYOPT.

it did for the system wide env variables. i had to set it for my user
account. note, i haven't rebooted this machine, but i did on an older
install of one click installer, and had the same problems...

> It should also set the file associate
>that lets you double-click on those files.

it didn't do that, but that's easy fix..


> Are you running 184-17?

yes.

>then something went wrong with your installation (do you have adminitsrator
>privileges?), and I would suggest that you uninstall and then reinstall.

i was using an account that did, but to make sure i uninstalled, and
installed via "run as" with the regular admin account.

still no joy.

if i set rubyopt on the command line, i can run the examples.

i can also run the example inside komodo or arachno-ruby, so between
either of those and rubyscript2exe i can do what i need.

http://home.cogeco.ca/~tsummerfelt1
telnet://ventedspleen.dyndns.org
This topic is locked and can not be replied to.