From: Stu Date: 2011-05-11T05:45:47+09:00 Subject: Re: Ruby Activity It's something you enable when you compile it. It's optional based on different user needs. For example if you where to use ruby on a embedded system you may not need the extra space taken up by tk or rdoc so you remove it and slim down the install. For example on FreeBSD you enable the flag tk when running make install. On Gentoo you add the use flag tk for it to build with it. Darwin refers to them as variants to help with OS conflicts here is an example output from a mac for 1.8.7: % port variants ruby ruby has the variants: mactk: enable MacTk (Tk.framework without X11) support * conflicts with tk no_doc: do not install rdoc documents [+]thread_hooks: apply Apple's thread_hooks patch tk: enable tk support * conflicts with mactk universal: Build for multiple architectures 1.9: % port variants ruby19 ruby19 has the variants: c_api_docs: Generate documentation for Ruby C API mactk: Build using Mac OS X Tk Framework * conflicts with tk nosuffix: Don't add the 1.9 program suffix to the executables. Note: that makes the port conflict with ruby (1.8), rb-rubygems, and rb-rake ports. tk: Build using MacPorts Tk * conflicts with mactk universal: Build for multiple architectures ~ On Tue, May 10, 2011 at 2:46 PM, Patrick Lynch wrote: > I'm using Ruby 1.8.7 and it does not contain TK... > ie, in irb: 'require TK' returns error 'no such file to load...' > > ----- Original Message ----- From: "Stu" > To: "ruby-talk ML" > Sent: Saturday, May 07, 2011 4:31 PM > Subject: Re: Ruby Activity > > >> Ruby comes with tk build in. While your investigating which toolkits >> are right for your project that on is distributed with the language to >> play with right off the bat. >> >> ~Stu >> >> On Sat, May 7, 2011 at 11:17 AM, Bobby S. wrote: >>> >>> Is ruby still being developed? The official site has last release in dec >>> 2010. >>> >>> >>> The other thing is are any of the GUI toolkits still being developed. >>> Most of them date back to 2009 or later. >>> >>> I love ruby but I went looking for a GUI toolkit today and found no >>> active ones then I started looking at ruby for the reason and now I am >>> worried. >>> >>> Thanks in advance >>> >>> -- >>> Posted via http://www.ruby-forum.com/. >>> >>> >> >> > >