diff --git a/.circleci/config.yml b/.circleci/config.yml index 0dc19b64d4..bcc5d89928 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -203,7 +203,9 @@ commands: cd <> unset RAILS_ENV # avoid doing everything on the test environment bin/rails server -p 3000 & - wget --quiet --output-document - --tries=30 --retry-connrefused "http://localhost:3000<>" | grep "<>" + wget --no-verbose --output-document output.html --tries=30 --retry-connrefused "http://localhost:3000<>" + cat output.html + grep "<>" output.html echo "Exited with $?" kill $(cat "tmp/pids/server.pid") diff --git a/bin/sandbox b/bin/sandbox index 11b0a08459..f342e720dc 100755 --- a/bin/sandbox +++ b/bin/sandbox @@ -42,7 +42,7 @@ rm -rf ./sandbox echo "~~~> Creating a pristine Rails app" rails_version=`bundle exec ruby -e'require "rails"; puts Rails.version'` -rails _${rails_version}_ new sandbox \ +bundle exec rails _${rails_version}_ new sandbox \ --database="$RAILSDB" \ --skip-git \ --skip-keeps \