A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/rdp/tk_as_gem below:

rdp/tk_as_gem: the tk extension extracted from core and gem-ified

the tk extension extracted from core and gem-ified
gem install tk_as_gem

originally extracted from 1.9.1p376, then added a minor change to make it work with mingw/msys.

To install into an existing mingw distro:
install ActiveTcl [c:\tcl] (should add itself to the path)
C:>gem install tk_as_gem

Note: ruby.exe and your tcl dir must be on the same drive.

Might install for linux, as well.

Note that this only works for 1.9 -- for 1.8 mingw you can install some binaries from here:
http://github.com/rdp/ruby_windows_tk

Bugs:

currently to exit out of ruby, once you've done a
require 'tk'
of the gem, you must *first* close all outstanding open Tk windows, THEN exit your ruby process, otherwise it will hang.

Also you "might" need Tcl/Tk 8.4 instead of 8.5 (you certaintly do, for 1.8), with its bin in your path.

To install from other dir:

gem install tk_as_gem -- --with-tcl-dir=/installs/Tcl --with-tk-dir=/installs/Tcl

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4