Mac OS X Tiger comes with Tk?

Ben Bleything wrote:

I couldn't figure out what the heck you were referring to because the
disc1 contents window had six icons in it: one was the Xcode Tools
directory and none of the other icons was Optional Installs.mpkg. So I
did a search with Finder, and Finder said that the file Optional
Installs.mpkg was on disc1. What the?! Then I expanded the disc1
contents window, and voila! some other icons magically appeared at the
bottom. I don't think the default for that page should be icon view!

Yeah, sorry about that. X11 *used* to be part of the dev tools, but I
always forget that that is not the case anymore. Sorry to have led you
astray :slight_smile:

Also, for what it's worth, Optional Installs is hidden in the default
folder view because it's normally accessed via the regular installer.

Ben

Recently, I updated to ruby 1.8.6 and now when I try to run this
program:

require 'tk'

I get this output:

r1test.rb:1:in `require': no such file to load -- tk (LoadError)
        from r1test.rb:1

What happened? :frowning:

···

On Mon, Oct 29, 2007, 7stud -- wrote:

--
Posted via http://www.ruby-forum.com/\.

SpringFlowers AutumnMoon wrote:

that's weird... my Mac doesn't have "port"

The port command is part of MacPorts, a.k.a. DarwinPorts.

···

--
Posted via http://www.ruby-forum.com/\.

7stud -- wrote:

Recently, I updated to ruby 1.8.6 and now when I try to run this
program:

require 'tk'

I get this output:

r1test.rb:1:in `require': no such file to load -- tk (LoadError)
        from r1test.rb:1

What happened? :frowning:

How did you upgrade? MacPorts? If so it sounds like you did not choose
one of the Tk variants, i.e sudo port install ruby +mactk

Cheers,
Tim

···

--
Posted via http://www.ruby-forum.com/\.