#413: ruby_deploy embeds more than one version of macruby -------------------------------------+-------------------------------------- Reporter: mattaimonetti@… | Owner: lsansonetti@… Type: defect | Status: new Priority: blocker | Milestone: Component: MacRuby | Keywords: ruby_deploy -------------------------------------+-------------------------------------- When using the new embedded target, the ruby_deploy script locates the MacRuby framework by doing: {{{ @macruby_framework_path = Config::CONFIG['libdir'].scan(/^.+MacRuby\.framework/)[0] }}} Which will usually return a path like: {{{ => "/Library/Frameworks/MacRuby.framework" }}} Later on in the script, the entire framework is copied to: {{{ cp_r(@macruby_framework_path, File.join(@app_bundle, 'Contents/Frameworks')) }}} The problem is that you might have multiple versions of MacRuby installed: {{{ ls /Library/Frameworks/MacRuby.framework/Versions/ => 0.4 0.5 Current }}} I think the deploy script should, by default, only ship the current version, and let you pass an argument to ship another version. -- Ticket URL: <http://www.macruby.org/trac/ticket/413> MacRuby <http://macruby.org/>