Ruby/Tk on MacOS X.2?

You are probably better off going the ruby/cocoa route.

However, there is a tcl/tk download off the Apple downloads page that works somewhat natively.

Your other option is to install Xwindows side by side with fink and then install tcl/tk this way. You would then be able to run Ruby/Tk in Xwindows, not natively.

Best of Luck.
SA

You are probably better off going the ruby/cocoa route.

But I already have an application written in Ruby/Tk. It works on
Windows. However, someone who has MacOS X.2 wishes to use my
application, so I’m trying to figure out if I can get it to work for
her.

However, there is a tcl/tk download off the Apple downloads page
that works somewhat natively.

Is it the one at
Apple - Support - Downloads ?
Are you saying if that is installed on MacOS X.2, then
“ruby -e ‘require tk’” will work?

Your other option is to install Xwindows side by side with fink and
then install tcl/tk this way.

That sounds overly complex, especially considering this isn’t my
computer that I’m trying to get the application working on…

Thanks.

Hi Philip,

In order to get a version of Ruby/Tk, I use Fink
(http://fink.sourceforge.net/). It installs an X server and all sorts of
other stuff that some people think are missing from OS X. It’s not
terribly convenient. In fact, it’s downright awkward! It was easier for
me than building a native Tk, though.

If you have any luck getting Ruby/Tk working without messing about with
Fink, please share how you did it with the list :slight_smile:

-Brian W
brian@coolnamehere.com
http://coolnamehere.com/

···

At 08:07 AM 11/15/2002 +0900, you wrote:

You are probably better off going the ruby/cocoa route.

But I already have an application written in Ruby/Tk. It works on
Windows. However, someone who has MacOS X.2 wishes to use my
application, so I’m trying to figure out if I can get it to work for
her.

However, there is a tcl/tk download off the Apple downloads page
that works somewhat natively.

Is it the one at
Apple - Support - Downloads ?
Are you saying if that is installed on MacOS X.2, then
“ruby -e ‘require tk’” will work?

Your other option is to install Xwindows side by side with fink and
then install tcl/tk this way.

That sounds overly complex, especially considering this isn’t my
computer that I’m trying to get the application working on…

Thanks.