From: Glen Holcomb Date: 2008-07-29T05:18:14+09:00 Subject: Re: Win32ole equivalent for Mac OS X ------=_Part_37137_22659735.1217276321631 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Mon, Jul 28, 2008 at 1: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 > -- > Posted via http://www.ruby-forum.com/. > > Sorry, can't help you there. I'm not at all versed in build environments in OS X. I would suggest checking your LD_LIBRARY_PATH and making sure the headers for ruby are there but beyond that I have no idea. -- "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) ------=_Part_37137_22659735.1217276321631--