# One click installer, fxruby

**URL:** <https://www.ruby-forum.com/t/one-click-installer-fxruby/61615>\
**Category:** Ruby\
**Created:** [May 25, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615 "2006-05-25T16:42:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Post date:** [May 25, 2006, 4:42pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615/1 "2006-05-25T16:42:24Z")

</div>

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](http://home.cogeco.ca/~tsummerfelt1)  
telnet://ventedspleen.dyndns.org

---

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Post date:** [May 25, 2006, 5:13pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615/2 "2006-05-25T17:13:25Z")

</div>

On 5/25/06, tony summerfelt [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Post date:** [May 25, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615/3 "2006-05-25T20:09:25Z")

</div>

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](http://home.cogeco.ca/~tsummerfelt1)  
telnet://ventedspleen.dyndns.org

---

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Post date:** [May 25, 2006, 8:16pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615/4 "2006-05-25T20:16:02Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Post date:** [May 25, 2006, 8:44pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615/5 "2006-05-25T20:44:08Z")

</div>

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](http://home.cogeco.ca/~tsummerfelt1)  
telnet://ventedspleen.dyndns.org

---

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Post date:** [May 25, 2006, 8:09pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615/6 "2006-05-25T20:09:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![tony\_summerfelt](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/b9bd4f/32.png) [@tony\_summerfelt](https://www.ruby-forum.com/u/tony_summerfelt)\
**Post date:** [May 25, 2006, 8:22pm UTC](https://www.ruby-forum.com/t/one-click-installer-fxruby/61615/7 "2006-05-25T20:22:10Z")

</div>

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](http://home.cogeco.ca/~tsummerfelt1)  
telnet://ventedspleen.dyndns.org
