Rb-appscript installation on MAC OS 10.6.3 (Snow Leopard)

Hello,

I am new user working on MAC OS and try to install rb-appscrip-0.6.0. I
want Autoit functionality on the MAC OS with using rb-appscript.

Ruby Version on MAC OS is:
ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9.7.0]

Gem Version on MAC OS:
1.6.1

then i go to the destination where i downloaded the rb-appscript file
and start installing it using the commands:

  1. ruby extconf.rb
    Output:
    create Downloads/APPLE_SCIPTS/rb-appscript-0.6.0/src/osx_ruby.h …
    create Downloads/APPLE_SCIPTS/rb-appscript-0.6.0/src/osx_intern.h

    creating Makefile
  2. Make
    Output: cc -dynamic -bundle -undefined suppress -flat_namespace -o
    ae.bundle rbae.o SendThreadSafe.o -L. -L/usr/local/lib -L. -framework
    Carbon -framework ApplicationServices -lruby -lpthread -ldl -lobjc
    ld: warning: in /usr/local/lib/libruby.dylib, file was built for i386
    which is not the architecture being linked (x86_64)
    ld: in /usr/local/lib/libxml2.2.dylib, file was built for i386 which is
    not the architecture being linked (x86_64)
    collect2: ld returned 1 exit status
    make: *** [ae.bundle] Error 1
    and not able to install it.

Please let me know from the basic how to install it on MAC OS.

Thanks in Advance.
Saurabh G.
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs