Projects

Ticket #682 (new defect)

Opened 22 months ago

Last modified 11 months ago

files delivered in site_ruby; should be in vendor_ruby

Reported by: marick@… Owned by: lsansonetti@…
Priority: blocker Milestone: MacRuby Later
Component: MacRuby Keywords:
Cc:

Description

MacRuby 0.7: There are files delivered in site_ruby:

bigdecimal/		openssl/		ripper.rb
digest/			openssl.rb		universal-darwin10.0/
digest.rb		ripper/

Shouldn't they be in vendor_ruby? I can't run a program without site-specific files by stripping site_ruby out of the path. If I do, macruby crashes with an Abort trap when it tries to load gems.

I know that macruby_deploy -embed copies site_ruby into the application, so this causes no real problem other than wasted space, so maybe it's not worth fixing. But it'll cause more problems when macruby ships with OSX and people stop embedding.

Change History

Changed 21 months ago by lsansonetti@…

Looks like 1.9 uses a different directory for these.

$> find /usr/local/lib/ruby -name "*.bundle"
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.3.0/bigdecimal.bundle
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.3.0/continuation.bundle
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.3.0/coverage.bundle
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.3.0/curses.bundle
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.3.0/dbm.bundle
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.3.0/digest/bubblebabble.bundle
/usr/local/lib/ruby/1.9.1/x86_64-darwin10.3.0/digest/md5.bundle
[...]

Maybe we should mimic what 1.9 does.

Changed 14 months ago by lsansonetti@…

  • milestone set to MacRuby 1.0

Let's target this tentatively for 1.0.

Changed 11 months ago by lsansonetti@…

  • milestone changed from MacRuby 1.0 to MacRuby Later

Doesn't seem critical for 1.0, punting.

Note: See TracTickets for help on using tickets.