getting tk working on ubuntu

S

stewbawka

I need some help getting tk working on ubuntu.. I reinstalled ruby
from source being under the impression that tk would be built-in this
time around. i still get:

LoadError: no such file to load -- tk

when i try require 'tk'

i have apt-get installed: libtcltk-ruby , tk8.4-dev ...

please help!

Stuart
 
G

Gerald Murray

LoadError: no such file to load -- tk

You need the packages tcl and tk installed, possibly the -dev packages
for each of them.
Best to seek the versions in ubuntu that work with your OS version if
you want binary packages
Installing tcl and tk from source should work.

Gerald
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top