[NTG-context] texmfstart texexec

Idris Samawi Hamid ادريس سماوي ح Idris Samawi Hamid ادريس سماوي ح
Wed Aug 13 02:04:49 CEST 2008

Hi Hans,

On Tue, 12 Aug 2008 15:59:20 -0600, Hans Hagen <pragma at wxs.nl> wrote:

>> texmfstart --locate texexec.rb
>> gives me
>> /texmf-context/scripts/context/ruby/texexec.rb
>> Any ideas on what's wrong?
> some messy ruby in your path
> you can make a small bat file that starts texmfstart
> @echo off
> setlocal
> ruby c:\pathtoscript\texmfstart.rb %*
> endlocal
> might work

$>"C:\ConTeXt\tex\texmf-context\scripts\context\ruby\texmfstart.rb" texexec
ruby: no such file to load -- ubygems (LoadError)

This makes no sense: texexec.rb and texmfstart.rb are in the same  
directory! I wonder why texmfstart can't find texexec...

$>texmfstart --path  
"C:\ConTeXt\tex\texmf-context\scripts\context\ruby\texexec.rb" test.tex

gives no error but does nothing else but return the command prompt.

> or (what i have here) just add scripts/context/ruby to your PATH

did that and relogged in: does not work.

> variable and associate .rb with ruby

XP already associates .rb files with the ruby interpreter.


Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

More information about the ntg-context mailing list