<NME> standalone.sh
<BEF> ADDFILE
<MSG> - add test runner via rvm

<DFF> @@ -0,0 +1,36 @@
+#!/usr/bin/env bash
+rvm="$HOME/.rvm/scripts/rvm"
+
+if [ ! -f "$rvm" ] ; then
+  echo "rvm not found? You should install it."
+  exit 1
+fi
+
+#cat << RVMRC > $HOME/.rvmrc
+#rvm_install_on_use_flag=1
+#rvm_project_rvmrc=0
+#rvm_gemset_create_on_use_flag=1
+#RVMRC
+
+. "$rvm"
+rvm rvmrc trust logstash
+cd logstash
+
+git pull origin master
+git checkout master
+
+ruby="ruby-1.8.7"
+gemset="logstash-testing"
+
+if ! rvm list | grep "$ruby" ; then
+  rvm install "$ruby"
+fi
+
+rm -f *.gem
+rvm gemset create $gemset
+rvm "$ruby@$gemset" gem uninstall -ax logstash || true
+rvm "$ruby@$gemset" gem build logstash.gemspec
+rvm "$ruby@$gemset" gem install --no-ri --no-rdoc logstash-*.gem
+rvm "$ruby@$gemset" gem install --no-ri --no-rdoc stompserver
+rvm "$ruby@$gemset" exec logstash-test
+

- add test runner via rvm