run_utils 478 B

123456
  1. #!/bin/bash
  2. FILELOC=`dirname $0`
  3. JARCLASSES=$(ruby -e 'puts ARGV.reject {|x| x.include? "jruby"}.join(":")' `ls -1 $FILELOC/../*.jar`)
  4. CLASSPATH=$FILELOC/../../classes:$JARCLASSES
  5. java -Xmx500m -Xss2048k -Dfile.encoding=UTF-8 -Xbootclasspath/a:$FILELOC/../jruby-incomplete.jar -classpath $CLASSPATH -Djruby.home=$HOME/oss/jruby-1.7.18 -Djruby.script=jruby -Djruby.shell=/bin/sh org.jruby.Main -S rspec -I $FILELOC:$FILELOC/nokogiri-1.5.2-java/lib $@ $FILELOC/utilities_spec.rb