------ art_18749_6488850.1132536058329 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 11/17/05, anne001 <anne / wjh.harvard.edu> wrote: > > Thank you > > > For general Emacs usage: > > C-h t > opened a tutorial file in japonese. There is access to tutorial through > the menus. I know the main things, opening a file, finding a word, > macros, opening two windows... basics from ten years ago which have not > changed apparently. > > > M-x ruby-mode > > M-x run-ruby > The first command exists and runs. The second command is not in the > list of commands my install can access. > > > Try this: > > M-x compile ruby myscript.rb > I tried compile from the menu, erased make -k and wrote ruby > myscript.rb > > ruby dudruby.rb > /usr/lib/ruby/1.6/tk.rb:7:in `require': No such file to load -- > tcltklib (LoadError) > from /usr/lib/ruby/1.6/tk.rb:7 > from dudruby.rb:1:in `require' > from dudruby.rb:1 > > Compilation exited abnormally with code 1 at Thu Nov 17 13:26:24 > > So emacs is not finding tcltklib. That may be a mac issue. I know the > mac has a path, > somehow I need to find this library and add it to the path. > > Thank you Christian Neukirchen for great progress. Hugh Sasse, a lot of > your links don't connect > right now. the editor I wanted to use is xcode with rubycocoa, but I > have the same problem, it > does not find tcltklib. Only the terminal ruby finds it. > > > Which version of OS X are you running? Which ruby are you using? I suspect you have both 1.6 and 1.8 installed and Xcode and emacs only know about 1.6. ------ art_18749_6488850.1132536058329--