Created
January 22, 2010 15:39
-
-
Save czottmann/283849 to your computer and use it in GitHub Desktop.
Snippets for my blog entry "Xcode & MacRuby: Embed, Compile, Fix"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PATH="$PATH:/usr/local/bin" macruby_deploy --embed --compile "$TARGET_BUILD_DIR/$PROJECT_NAME.app" | |
install_name_tool -change /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib "@executable_path/../Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib" "$TARGET_BUILD_DIR/$PROJECT_NAME.app/Contents/MacOS/$PROJECT_NAME" | |
for F in $TARGET_BUILD_DIR/$PROJECT_NAME.app/Contents/Resources/*.rbo; do | |
install_name_tool -change /Library/Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib "@executable_path/../Frameworks/MacRuby.framework/Versions/0.5/usr/lib/libmacruby.dylib" "$F" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
core:in `each': dlopen(/Users/Carlo/Code/mynewapp/build/Release/MyNewApp.app/Contents/Resources/SomeController.rbo, 9): Library not loaded: /Library/Frameworks/MacRuby.framework/Versions/0.6/usr/lib/libmacruby.dylib | |
Referenced from: /Users/Carlo/Code/mynewapp/build/Release/MyNewApp.app/Contents/Resources/SomeController.rbo | |
Reason: image not found - /Users/Carlo/Code/mynewapp/build/Release/MyNewApp.app/Contents/Resources/SomeController.rbo (LoadError) | |
from rb_main.rb:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment