from the man file:
Oh good!
But now i've another problem:
if I have only one file all work (macrubyc myfile.rb)
but if I have 2 files where 1 file require the other, I dont know how to
compile the 2 files...
Ive try
macrubyc -c file1.rb -o file1.o
macrubyc -c file2.rb -o file2.o
macrubyc file1.o file2.o -o exec
Now when I run the ./exec i have the error: no such file to load --
(LoadError)
There is a way?
Il 29/05/12 14:14, Francis Chong ha scritto:
> You can compile any ruby file with macrubyc. For anything more complex
> you probably want to check macruby_deploy.
>
> There is an old post at:
> http://macruby.macosforge.org/blog/2009/11/17/macruby05b2.html which
> should still valid.
>
>
>
> --
> Francis Chong
> Ignition Soft
>
> On 2012年5月29日Tuesday at 下午7:36, Enrico Pilotto wrote:
>
>> Hi, there is a way to create a command line tool with XCode using macruby?
>>
>> I've a little program that run with 'macruby main.rb', but now i want
>> create an executable file... There is a way to compile the macruby source?
>>
>> Thanks, Enrico.
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel