Skip to content

Commit

Permalink
fix test script on 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Mar 25, 2013
1 parent 1e1863e commit 4586edf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
bundler_args: --without development
bundler_args: --standalone --without development
script: RUBYLIB=./bundle script/test

env:
- SSL=no
Expand All @@ -25,5 +26,3 @@ rvm:
- 1.9.2
- 1.9.3
- 2.0.0

script: script/test
4 changes: 2 additions & 2 deletions script/test
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
# $ SSL=yes script/test net_http -- -n /ssl/
set -e

if ! grep bundler/setup <<<"$RUBYOPT" >/dev/null; then
export RUBYOPT="$RUBYOPT -rubygems -rbundler/setup"
if [[ "$RUBYOPT" != *"bundler/setup"* ]]; then
export RUBYOPT="-rbundler/setup $RUBYOPT"
fi

port=3999
Expand Down

0 comments on commit 4586edf

Please sign in to comment.