Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit cb95058

Browse files
committed
debug! remove me
1 parent abcb596 commit cb95058

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

script/functions.sh

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,17 @@ function run_specs_and_record_done {
4343
}
4444

4545
function run_cukes {
46+
echo '0'
4647
if [ -d features ]; then
48+
echo '1'
49+
echo $(ruby -e "exit(RUBY_VERSION.to_f >= 2.5)")
50+
4751
if is_ruby_25_plus; then
4852
echo "${PWD}/bin/cucumber"
4953

5054
if is_jruby; then
55+
echo 'jruby'
56+
5157
# force jRuby to use client mode JVM or a compilation mode thats as close as possible,
5258
# idea taken from https://github.com/jruby/jruby/wiki/Improving-startup-time
5359
#
@@ -56,15 +62,17 @@ function run_cukes {
5662
export JAVA_OPTS='-client -XX:+TieredCompilation -XX:TieredStopAtLevel=1'
5763

5864
# For some reason JRuby doesn't like our improved bundler setup
59-
RUBYOPT="-I${PWD}/../bundle -rbundler/setup" \
60-
PATH="${PWD}/bin:$PATH" \
61-
bin/cucumber --strict
65+
# RUBYOPT="-I${PWD}/../bundle -rbundler/setup" \
66+
# PATH="${PWD}/bin:$PATH" \
67+
# bin/cucumber --strict
6268
else
69+
echo 'mri'
70+
6371
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
6472
# and PATH for those that are using `rspec` or `rake`.
65-
RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \
66-
PATH="${PWD}/bin:$PATH" \
67-
bin/cucumber --strict
73+
# RUBYOPT="${RUBYOPT} -I${PWD}/../bundle -rbundler/setup" \
74+
# PATH="${PWD}/bin:$PATH" \
75+
# bin/cucumber --strict
6876
fi
6977
else
7078
echo "skipping features"

0 commit comments

Comments
 (0)