使用 Textmate[Snow Leopard] 运行 ruby 时出现问题
我刚刚在我的 Snow Leopard 上安装了 Textmate 并尝试运行 ruby。
我尝试类似
puts "test"
至少我收到错误消息
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle: dlopen(/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle, 9): no suitable image found. Did find: (LoadError)
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle: no matching architecture in universal wrapper - /Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:3
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1:in `require'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1
我还在终端中编写了下一个命令来检查 ruby 有什么问题
echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
ruby -e 'puts ENV["_"]'
/usr/bin/ruby
我真的不明白该怎么做才能在 textmate 上运行这个东西。
I have just installed Textmate on my Snow Leopard and try to run ruby.
I try smth like
puts "test"
At least i receive error message
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle: dlopen(/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle, 9): no suitable image found. Did find: (LoadError)
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle: no matching architecture in universal wrapper - /Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/plist.bundle
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:3
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1:in `require'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1
Also i have written in terminal next commands to check what is wrong with ruby
echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
ruby -e 'puts ENV["_"]'
/usr/bin/ruby
I really can't understand what to do to run this stuff on textmate.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
也许这是你的 64 位安装的 osx 不支持 textmate plist.bundle 的问题。
试试这个:
http://snipplr.com/view/40934/修复textmate-bundles-after-snow-leopard-upgrade/
maybe this is a problem with textmate plist.bundle not supported by your 64bit installation of osx.
try this:
http://snipplr.com/view/40934/fix-textmate-bundles-after-snow-leopard-upgrade/