From: Jaypee Date: 2005-11-17T08:02:58+09:00 Subject: Re: rubycocoa error "No such file to load -- tcltklib (LoadError)" anne001 wrote: > I started looking at OO with objective C, x code and cocoa. I > downloaded rubycocoa to be able to continue to use the xcode > environment. So far I have been able to run script code fine in ruby > projects in Cocoa. > > I read about trying to set up emacs to work with Ruby, but again it is > going to mean a lot of running around looking for a source, > instructions... So if it is a matter of learning how to find a file and > setting a path! that might be faster. > > I am trying to set up an environment where I don't have to go to > terminal to compile my code or find my files. > Anne001, you have many alternatives on a Mac: - Eclipse + Ruby Development Tools. I did some Ruby/Tk code in that environment. You can run your Ruby code from Eclipse. - jEdit + Ruby Editor plugin. - Smultron - TextMate jEdit has plugins to let you consult Rdoc (APIs), and the specific ruby plugin brings autocompletion for standard classes methods. The last three still require to open a Terminal to run your code. BTW there is a very useful little utility named "Open Terminal Here", by Marc Liyanage. It lets you browse your disk to find a file then once you found it, open a terminal right there. If you change you mind or have done a couple of cd in your terminal and want to go back to the window mode, just type "open .", it'll open a Finder window at your current location in the terminal. You may need to install gem in order to install other Ruby libraries. I am not familiar with emacs, my comfort zone is more vi, but I know emacs is a great tool once you get some fluency with its commands, and it may be hard to decide to depart from great tools. Cheers, J-P