>
> On 11/14/07, pasha_md5 <[EMAIL PROTECTED]> wrote: Kalo mo coba pake
> ruby+tk, yg harus diinstall apa aja sich ??
> saya dah install ruby 1.8.6 + tk8 (mandriva2008), tapi kok pas rubynya
> dijalanin ada error: "no such file to load -- tk (LoadError)"
> Thx...


Hanya kurang library binding ruby -- tk.


$ cat /proc/version_signature
Ubuntu 2.6.22-14.46-generic

$ ruby -e "require 'tk'"
-e:1:in `require': no such file to load -- tk (LoadError)
        from -e:1

$ aptitude search tk | grep tcl
p   gocr-tk                         - A tcl/tk wrapper around
gocr
p   hfsutils-tcltk                  - Tcl/Tk interfaces for reading and
writing
p   libtcltk-ruby                   - Tcl/Tk interface for
Ruby
p   libtcltk-ruby1.8                - Tcl/Tk interface for Ruby 1.8

p   libtcltk-ruby1.9                - Tcl/Tk interface for Ruby 1.9

p   sufary-tcltk                    - Tcl/Tk interface for
SUFARY
p   tkdesk                          - Tk/tcl based X11 Desktop/File
manager
p   vtk-tcl                         - Tcl bindings for VTK

$ sudo apt-get install libtcltk-ruby
[sudo] password for andry:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libtcltk-ruby1.8 tk8.4
The following NEW packages will be installed:
  libtcltk-ruby libtcltk-ruby1.8 tk8.4
........
--deleted---


$ ruby -e "require 'tk'"
$




-- 
http://andryshuzain.com


[Non-text portions of this message have been removed]

Kirim email ke