I am in ruby GUI toolkit hell

I have ruby installed, 1.9.3
I have libtcltk-ruby installed it says for 1.9.1 but most recent I can
find
I get this error

`require': cannot load such file -- tk

Is there any simple way to get any GUI support what-so-ever with Ruby on
a 64 bit Linux distro? Because seriously I have tried my damndest for
the past many hours and it seems essentially hopeless. Maybe I should
install Windows.

···

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

Hello,

Please gives us:

A code snippet. how do you 'require' your gem. Then gives us the cli commands you're using in order to install gems. Also a 'gem list' command would be nice.

Best Regards,

···

On 18 Απρ 2012, at 15:41 , roobie doo wrote:

I have ruby installed, 1.9.3
I have libtcltk-ruby installed it says for 1.9.1 but most recent I can
find
I get this error

`require': cannot load such file -- tk

Is there any simple way to get any GUI support what-so-ever with Ruby on
a 64 bit Linux distro? Because seriously I have tried my damndest for
the past many hours and it seems essentially hopeless. Maybe I should
install Windows.

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

Panagiotis Atmatzidis
-----------------------------
Pharmacy Student at VFU

email4lists: ml@convalesco.org
More info: http://about.me/atmosx

The wise man said: "Never argue with an idiot, he brings you down to his level and beat you with experience."

W dniu 18 kwietnia 2012 15:41 użytkownik roobie doo
<lists@ruby-forum.com> napisał:

I have ruby installed, 1.9.3
I have libtcltk-ruby installed it says for 1.9.1 but most recent I can
find
I get this error

`require': cannot load such file -- tk

Is there any simple way to get any GUI support what-so-ever with Ruby on
a 64 bit Linux distro? Because seriously I have tried my damndest for
the past many hours and it seems essentially hopeless. Maybe I should
install Windows.

Depends on which distro. You will probably have to first install
(using your system package manager) tcl, tk itself, tk development
libraries, Ruby development libraries, and ruby-tk bindings.
(Everybody loves some dependency hell.)

There is also this: tk_as_gem | RubyGems.org | your community gem host but I have
never tried it. Might work for you.

-- Matma Rex

To use tk with ruby you will probably have to compile ruby yourself. It's
not that hard. You can even use ruby-build tool and my tk extension (which
I keep trying to get them to include!!!).

See https://github.com/sstephenson/ruby-build&lt;https://github.com/sstephenson/ruby-build/issues/131&gt;
and GitHub - rubyunworks/ruby-build-tk: ruby-build script with tk support

And please support: Build Extensions · Issue #131 · rbenv/ruby-build · GitHub

···

On Wednesday, April 18, 2012 9:41:25 AM UTC-4, roobie doo wrote:

I have ruby installed, 1.9.3
I have libtcltk-ruby installed it says for 1.9.1 but most recent I can
find
I get this error

`require': cannot load such file -- tk

Is there any simple way to get any GUI support what-so-ever with Ruby on
a 64 bit Linux distro? Because seriously I have tried my damndest for
the past many hours and it seems essentially hopeless. Maybe I should
install Windows.

What are you trying to accomplish?

If you just want a gui for the sake of writing gui applications for
fun, then I suggest you look into any one[1] of the colorful[2]
flavors[3] of shoes[4].

1: GitHub - ashbb/green_shoes: Green Shoes is one of the colorful Shoes written in pure Ruby.
2: GitHub - ashbb/purple_shoes: Porting Green Shoes with JRuby and SWT
3: GitHub - shoes/brown_shoes
4: GitHub - shoes/shoes-deprecated: Former repo for Shoes... see README for up to date locations!

···

On Wed, Apr 18, 2012 at 10:27 AM, Panagiotis Atmatzidis <ml@convalesco.org> wrote:

Hello,

Please gives us:

A code snippet. how do you 'require' your gem. Then gives us the cli commands you're using in order to install gems. Also a 'gem list' command would be nice.

Best Regards,

On 18 Απρ 2012, at 15:41 , roobie doo wrote:

I have ruby installed, 1.9.3
I have libtcltk-ruby installed it says for 1.9.1 but most recent I can
find
I get this error

`require': cannot load such file -- tk

Is there any simple way to get any GUI support what-so-ever with Ruby on
a 64 bit Linux distro? Because seriously I have tried my damndest for
the past many hours and it seems essentially hopeless. Maybe I should
install Windows.

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

Panagiotis Atmatzidis
-----------------------------
Pharmacy Student at VFU

email4lists: ml@convalesco.org
More info: http://about.me/atmosx

The wise man said: "Never argue with an idiot, he brings you down to his level and beat you with experience."