From: Eric Christopherson on 16 Feb 2010 16:33 Is it possible to install Ruby Tk bindings on Windows with RubyInstaller, and on Mac OS X 10.6, without recompiling Ruby? I've seen a few sites that explain how to recompile Ruby on each platform to use Tk, but so far it looks like that's the only way.
From: Albert Schlef on 16 Feb 2010 18:57 Eric Christopherson wrote: > Is it possible to install Ruby Tk bindings on Windows with > RubyInstaller, and on Mac OS X 10.6, without recompiling Ruby? I'm not sure about MaxOSX, but for Windows: http://wiki.github.com/rdp/ruby_tutorials_core/tk The "Availability" section says you just have to install ActiveState's package and everything will work fine. -- Posted via http://www.ruby-forum.com/.
From: Eric Christopherson on 16 Feb 2010 19:06 On Tue, Feb 16, 2010 at 5:57 PM, Albert Schlef <albertschlef(a)gmail.com> wrote: > Eric Christopherson wrote: >> Is it possible to install Ruby Tk bindings on Windows with >> RubyInstaller, and on Mac OS X 10.6, without recompiling Ruby? > > > I'm not sure about MaxOSX, but for Windows: > > http://wiki.github.com/rdp/ruby_tutorials_core/tk > > The "Availability" section says you just have to install ActiveState's > package and everything will work fine. I did install ActiveTcl on Windows, but afterwards "require 'tk'" didn't work. It seems that I don't even have the proper Ruby files to "require". I also never told Ruby where my Tcl/Tk was installed.
From: Albert Schlef on 16 Feb 2010 21:14 Eric Christopherson wrote: > On Tue, Feb 16, 2010 at 5:57 PM, Albert Schlef <albertschlef(a)gmail.com> > wrote: >> package and everything will work fine. > I did install ActiveTcl on Windows, but afterwards "require 'tk'" > didn't work. It seems that I don't even have the proper Ruby files to > "require". I also never told Ruby where my Tcl/Tk was installed. I vaginally remember having this problem. After I installed ActiveState's package ruby wasn't able to see Tk's DLL. I believe my problem had gone after I restarted Windows. Perhaps the folder the DLL is in is added to Windows' registry somewhere and Windows notes it only after a restart. I know very little about Windows so this is only a guess. -- Posted via http://www.ruby-forum.com/.
From: Albert Schlef on 16 Feb 2010 21:18 Albert Schlef wrote: > Eric Christopherson wrote: >> On Tue, Feb 16, 2010 at 5:57 PM, Albert Schlef <albertschlef(a)gmail.com> >> wrote: >>> package and everything will work fine. >> I did install ActiveTcl on Windows, but afterwards "require 'tk'" >> didn't work. It seems that I don't even have the proper Ruby files to >> "require". I also never told Ruby where my Tcl/Tk was installed. > > I vaginally remember having this problem. Wow. I intended to write "vaguely". I had some misspelling ("vagually"), so I just picked the first suggestion the speller gave me, it looked like what I wanted. My sight isn't 6/6. Sorry :-) -- Posted via http://www.ruby-forum.com/.
|
Next
|
Last
Pages: 1 2 3 4 5 6 7 Prev: Ruby + git +ssh keys Next: Convert Sequel Dataset to JSON Object |