Permalink
Browse files

Merge pull request #30 from MSch/master

ruby_deploy's fix_install_name doesn't perform a deep search in Contents/Resources
  • Loading branch information...
Laurent Sansonetti
Laurent Sansonetti committed Jun 17, 2011
2 parents 1d057c8 + e8bc645 commit 98622d12417ec3b5ef6259a358bb8cdc01cce12c
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/ruby_deploy
View
@@ -269,7 +269,7 @@ class Deployer
log "Fix install path of binaries"
patterns = [File.join(@app_bundle, 'Contents/MacOS/*'),
File.join(app_macruby_usr, 'lib/ruby/**/*.{bundle,rbo}'),
- File.join(@app_bundle, 'Contents/Resources/*.rbo')]
+ File.join(@app_bundle, 'Contents/Resources/**/*.rbo')]
patterns.each do |pat|
Dir.glob(pat).each do |bin|
execute("#{@install_name_tool} -change #{macruby_usr}/lib/libmacruby.dylib @executable_path/../Frameworks/MacRuby.framework/Versions/Current/usr/lib/libmacruby.dylib '#{bin}'")

0 comments on commit 98622d1

Please sign in to comment.