`require': cannot load such file -- _aem/mactypes
mrickard opened this issue · 7 comments
mrickard commented
Alas--this build seems to fail, at least with 2.0.0.
/Users/me/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require': cannot load such file -- _aem/mactypes (LoadError)
from /Users/me/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/me/.rvm/gems/ruby-2.0.0-p0/gems/rb-appscript-0.6.1/lib/appscript.rb:8:in `<top (required)>'
from /Users/me/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/me/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/me/.rvm/gems/ruby-2.0.0-p0/gems/imsg-0.0.2/lib/imsg.rb:3:in `<top (required)>'
from /Users/me/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/me/.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in `require'
from /Users/me/.rvm/gems/ruby-2.0.0-p0/gems/imsg-0.0.2/bin/imsg:2:in `<top (required)>'
from /Users/me/.rvm/gems/ruby-2.0.0-p0/bin/imsg:23:in `load'
from /Users/me/.rvm/gems/ruby-2.0.0-p0/bin/imsg:23:in `<main>'
from /Users/me/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `eval'
from /Users/me/.rvm/gems/ruby-2.0.0-p0/bin/ruby_noexec_wrapper:14:in `<main>'
velobuff commented
@mrickard Updating rubygems (and/or Ruby version) to the latest might help. More info here:
chrisfsampaio commented
@velobuff thanks for the info, I was trying to reproduce the issue at this very moment!
mrickard commented
@velobuff Thanks! Now, with 2.1.0-p0 and rb-applescript installed, imsg will launch, but on selecting a buddy, imsg fails with this:
2014-02-12 10:45:02.503 osascript[21857:d07] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
chrisfsampaio commented
@mrickard Are you able to run the command below?
osascript -e 'tell application "Messages" to get chats'
If so, what is the output?
Thanks!
mrickard commented
I do get a list of chats, preceded by this:
2014-02-16 19:51:04.499 osascript[53126:507] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
chrisfsampaio commented
It seems that Adobe has messed up your osascript path, whats the output of
which osascript
?
chrisfsampaio commented
I hope the problem is already sorted out. :]
If you still need some help, feel free to file a new issue.
Thanks!