-
Notifications
You must be signed in to change notification settings - Fork 59
First spike at jruby #14
Conversation
Failing to build but only inside the Puppet run:
|
Hurray for relative bin resolution in the JRuby build process. Sigh. /cc @benburkert |
ping @benburkert again |
Looking for clarification - is JRUBY currently not supported through Boxen? |
Not sure if this is the right thread, but I have issues with jruby running on a boxen java machine. Problems stem from DYLD_FALLBACK_LIBRARY_PATH set in bundle or starting a jruby app fail to find libc.dyld unless I Any ideas - other than removing boxen-java and doing java manually? Maybe this belongs in the boxen-java repo? Thanks ᚛ $ more `which java`
#!/bin/sh
#
# Invoke java with the $DYLD_LIBRARY_PATH set with the homebrew lib dir.
# This allows java to load native libraries installed via homebrew.
export DYLD_FALLBACK_LIBRARY_PATH="$BOXEN_HOME/homebrew/lib:$DYLD_FALLBACK_LIBRARY_PATH"
if [ -x /usr/libexec/java_home ]; then
export JAVA_HOME=`/usr/libexec/java_home`
fi
exec /usr/bin/java "$@" |
This is deprecated. Use rbenv to install jruby through boxen-rbenv. Should work for you then, although the latest jruby wasn't available - just 1.7.3 |
Hmm. That's how I installed jruby - through rbenv install jruby-1.7.3. So it seems my issue might be with boxen/puppet-java in that the java shim Maybe I'll cross post there unless you have any other ideas? Thanks.
|
Looks like the best way to get jruby in boxen is via rbenv for now. |
No description provided.