Sha256: c4fd4ce6023c8bbe3063fb2ce4f11f654710d638d8576b9d73886a1639262df9

Contents?: true

Size: 787 Bytes

Versions: 6

Compression:

Stored size: 787 Bytes

Contents

#!/bin/sh
#set -x
RUBY_DIR=$(dirname $(which ruby))/..
RUBYGEMS_DIR=${RUBY_DIR}/lib/ruby/gems/1.8/gems

GEM_COLUMNIZE=$(ls -1d $RUBYGEMS_DIR/columnize*/lib | head -1 | /usr/bin/ruby -e 'print File.expand_path($stdin.read)')
GEM_RUBY_DEBUG_BASE=$(ls -1d $RUBYGEMS_DIR/ruby-debug-base-*/lib | head -1 | /usr/bin/ruby -e 'print File.expand_path($stdin.read)')
GEM_RUBY_DEBUG_CLI=$(ls -1d $RUBYGEMS_DIR/ruby-debug-*/cli | head -1 | /usr/bin/ruby -e 'print File.expand_path($stdin.read)')
GEM_SOURCES=$(ls -1d $RUBYGEMS_DIR/sources-*/lib | head -1 | /usr/bin/ruby -e 'print File.expand_path($stdin.read)')

runner="ruby --client \
-I${GEM_COLUMNIZE} \
-I${GEM_RUBY_DEBUG_BASE} \
-I${GEM_RUBY_DEBUG_CLI} \
-I${GEM_SOURCES} \
-rubygems -S"

cmd="spec -c --debugger $*"
#cmd="irb"

$runner $cmd

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jruby-poi-0.6.1 spec_debug.sh
jruby-poi-0.6.0 spec_debug.sh
jruby-poi-0.5.2 spec_debug.sh
jruby-poi-0.5.1 spec_debug.sh
jruby-poi-0.5.0 spec_debug.sh
jruby-poi-0.4.0 spec_debug.sh