Last active
December 15, 2015 02:49
-
-
Save jmcnevin/5189588 to your computer and use it in GitHub Desktop.
Trying to get drip to actually do something with JRuby 1.7.3
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
rvm use jruby-1.7.3@fp2 --create | |
export JRUBY_OPTS="--1.9 -J-Xmx2048m -J-Xms2048m -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify" | |
# export JRUBY_OPTS="--1.9 -J-Xmx2048m -J-Xms2048m" | |
if [ -f /usr/local/bin/drip ]; | |
then | |
export JAVACMD=`which drip` | |
export DRIP_INIT_CLASS=org.jruby.main.DripMain | |
fi |
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
require_relative 'config/application' |
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
@Jere ➜ ruby -v | |
mkdir: /Users/jeremy/.drip/0.2.3/4efb80fd592c1ce41b43b3fb54c0717f6e7870b3/24849-1: File exists | |
jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_07-b10 [darwin-x86_64] | |
@Jere ➜ drip version | |
drip version "0.2.3" package | |
@Jere ➜ drip ps | |
@Jere ➜ time rake environment > /dev/null | |
noglob rake environment > /dev/null 29.14s user 3.03s system 130% cpu 24.637 total | |
@Jere ➜ drip ps | |
25097 org.flatland.drip.Main org.jruby.Main /Users/jeremy/.drip/0.2.3/4efb80fd592c1ce41b43b3fb54c0717f6e7870b3/25074-1 -Djdk.home= -Djruby.home=/Users/jeremy/.rvm/rubies/jruby-1.7.3 -Djruby.script=jruby -Djruby.shell=/bin/sh -Djffi.boot.library.path=/Users/jeremy/.rvm/rubies/jruby-1.7.3/lib/native/Darwin -Xss2048k -Djruby.memory.max=2048m -Djruby.stack.max=2048k -Xbootclasspath/a:/Users/jeremy/.rvm/rubies/jruby-1.7.3/lib/jruby.jar -Dfile.encoding=UTF-8 -Xmx2048m -Xms2048m -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none -Djava.awt.headless=true | |
@Jere ➜ time rake environment > /dev/null | |
noglob rake environment > /dev/null 0.08s user 0.08s system 0% cpu 24.910 total | |
@Jere ➜ drip ps | |
25177 org.flatland.drip.Main org.jruby.Main /Users/jeremy/.drip/0.2.3/4efb80fd592c1ce41b43b3fb54c0717f6e7870b3/25152-1 -Djdk.home= -Djruby.home=/Users/jeremy/.rvm/rubies/jruby-1.7.3 -Djruby.script=jruby -Djruby.shell=/bin/sh -Djffi.boot.library.path=/Users/jeremy/.rvm/rubies/jruby-1.7.3/lib/native/Darwin -Xss2048k -Djruby.memory.max=2048m -Djruby.stack.max=2048k -Xbootclasspath/a:/Users/jeremy/.rvm/rubies/jruby-1.7.3/lib/jruby.jar -Dfile.encoding=UTF-8 -Xmx2048m -Xms2048m -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -Xverify:none -Djava.awt.headless=true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment