# Standalone ruby-tk application for Windows from Linux

**URL:** <https://www.ruby-forum.com/t/standalone-ruby-tk-application-for-windows-from-linux/192173>\
**Category:** Ruby\
**Created:** [July 25, 2010, 5:47pm UTC](https://www.ruby-forum.com/t/standalone-ruby-tk-application-for-windows-from-linux/192173 "2010-07-25T17:47:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hikayu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f0a364/32.png) [@hikayu](https://www.ruby-forum.com/u/hikayu)\
**Post date:** [July 25, 2010, 5:47pm UTC](https://www.ruby-forum.com/t/standalone-ruby-tk-application-for-windows-from-linux/192173/1 "2010-07-25T17:47:57Z")

</div>

I’ve made a (somewhat) online multiplayer ruby game using the tcl/tk  
libary. Now I’d like to test it out with some friends. Problem? It has  
to be as simple as possible. They aren’t tech-savvy. All I need to make  
is an exe file from a rb files that contains not only the interpreter,  
but the socket and tk library.

I’ve tried rubyscript2exe, but it doesn’t look like a good solution (It  
didn’t work for me). Anyway, I’m not keen on using it, so it’s out of  
the topic.

I’ve tried taking the Windows Ruby interpreter on it’s own with part of  
the standard library, but it doesn’t detect tk. How would I add the  
tcl/tk library to where it should be for the interpreter to get?

(If you don’t understand me, or if I have provided inadequate  
information, just ask me what you need to confirm, it’s too broad and  
mind is currently cluttered with all that bug-tracking.)

---

<div class="post-metadata">

**Author:** ![hikayu](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/h/f0a364/32.png) [@hikayu](https://www.ruby-forum.com/u/hikayu)\
**Post date:** [July 25, 2010, 6:15pm UTC](https://www.ruby-forum.com/t/standalone-ruby-tk-application-for-windows-from-linux/192173/2 "2010-07-25T18:15:11Z")

</div>

Nevermind, I found it out!

I just (by coincidence, right now, despite me searching around for hours  
before making this post) found out this post:

[http://www.ruby-forum.com/topic/213658](http://www.ruby-forum.com/topic/213658)

I followed it and -booya- it worked. Now I have it all.
