run_crazy 272 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. export CLASSPATH=$FILELOC/../../classes:$JARCLASSES
  5. ~/oss/jruby-1.7.18/bin/jruby -S rspec -I $FILELOC $@ $FILELOC/column_lookup_spec.rb