From: Laurent Sansonetti Date: 2008-07-29T05:26:12+09:00 Subject: Re: Win32ole equivalent for Mac OS X On Mon, Jul 28, 2008 at 12:54 PM, Nathan Loyer <4namlet@gmail.com> wrote: > Glen Holcomb wrote: >> On Mon, Jul 28, 2008 at 1:30 PM, Nathan Loyer <4namlet@gmail.com> wrote: >> >>> >> http://www.macdevcenter.com/pub/a/mac/2007/02/27/replacing-applescript-with-ruby.html?page=2 >> >> -- >> "Hey brother Christian with your high and mighty errand, Your actions >> speak >> so loud, I can't hear a word you're saying." >> >> -Greg Graffin (Bad Religion) > > Thanks, but for some reason, I can't install rb-appscript. I get this > error: > > Building native extensions. This could take a while... > ERROR: Error installing rb-appscript: > ERROR: Failed to build gem native extension. > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby > extconf.rb install rb-appscript > can't find header files for ruby. > > > Gem files will remain installed in > /Library/Ruby/Gems/1.8/gems/rb-appscript-0.5.1 for inspection. > Results logged to > /Library/Ruby/Gems/1.8/gems/rb-appscript-0.5.1/gem_make.out > roboticbuddha:documents User$ ruby mergeAMdata.rb > /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in > `gem_original_require': no such file to load -- appscript (LoadError) > from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require' > from mergeAMdata.rb:7 > -- Did you install the Xcode package? Ruby's header files, as well as the compiler, are not bundled with the default Mac OS X install. Laurent