Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
MacRuby 0.5 包含一个基于 LLVM 的 ruby 编译器,称为 macrubyc。
有谁知道是否可以从已编译的代码中动态加载 gem?或者编译宝石并将它们链接起来?这是计划好的吗?或者编译后的代码将如何能够使用 gems。
Turns out that as of MacRuby 0.6, something like this will compile
require 'rubygems' require 'sequel' DB = Sequel.mysql(...)
But fail at run time trying to load mysql leading me to think that it loads the gems at run time.
mysql