[MacRuby-devel] Compile command line app
Enrico Pilotto
enrico at megiston.it
Tue May 29 08:45:43 PDT 2012
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 299 bytes
Desc: OpenPGP digital signature
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120529/bbda6012/attachment.bin>
More information about the MacRuby-devel
mailing list