Created
November 9, 2010 05:39
-
-
Save jbettcher/668761 to your computer and use it in GitHub Desktop.
Bash environment file for running a JRuby console from a deployed WAR
This file contains hidden or 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
export APP_HOME=/usr/local/glassfishv3/glassfish/domains/test-app/applications/test-app/WEB-INF | |
export GEM_HOME=$APP_HOME/classpath:/META-INF/jruby.home/ | |
export GEM_PATH=$APP_HOME/gems/ | |
export APP_RUNNER="java -cp $APP_HOME/lib/jruby-core-1.5.3.jar:$APP_HOME/lib/jruby-stdlib-1.5.3.jar:$APP_HOME/lib/jffi-i386-SunOS.jar org.jruby.Main -r$APP_HOME/../META-INF/init" | |
alias test-app="$APP_RUNNER" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment