[as2api-dev] Build for osx

erixtekila erixtekila at gmail.com
Sun Apr 9 21:40:32 UTC 2006


Hi Dave,



I'd like to know if there could be a trick to use as2api like a 
commandline tool.
Let me explain.

In osx 10.3, the all-in-one build doesn't work.
In osx 10.4, it works perfectly.

As I am an oldish macish guy, I'd like to produce my docs files from 
10.3
But, I'll have to  launch as2api by calling first ruby interpreter.

Simon wacker has created custom task to build from ant : as2ant.
Those tasks took an exe file as argument, not the ruby one.

How could I use it anyway ?
Here is the error output, if I use just  : $ ./as2api.rb
./parse/lexer.rb:2:in `require': No such file to load -- strscan 
(LoadError)
         from ./parse/lexer.rb:2
         from ./documenter.rb:3:in `require'
         from ./documenter.rb:3
         from ./ui/cli.rb:2:in `require'
         from ./ui/cli.rb:2
         from ./as2api.rb:3:in `require'
         from ./as2api.rb:3

$ruby ./as2api works perfectly.

Seems to be an inclusion problem.
Any idea before I go to 10.4 ? :)

Thanks.
-----------
erixtekila
http://blog.v-i-a.net/




More information about the as2api-dev mailing list