@@ -117,14 +117,14 @@ For normal day-to-day testing, we recommend running the Ruby specs. We have set
117117"fast" grouping that takes only a couple minutes to run:
118118
119119```
120- bin/jruby -S rake spec:ruby:fast
120+ ./ bin/jruby -S rake spec:ruby:fast
121121```
122122
123123For a more intensive workout, you can also run the Ruby (MRI) tests
124124via the following rake command:
125125
126126```
127- bin/jruby -S rake test:mri
127+ ./ bin/jruby -S rake test:mri
128128```
129129
130130This suite takes a while to complete, so if you want to run an individual file
@@ -135,7 +135,7 @@ from MRI's tests (under test/mri), use one of the following commands:
135135The MRI suite (under ` test/mri ` ) has a runner script in ` test/mri/runner.rb ` that sets up
136136an appropriate test environment. Many of the MRI tests will need to be run via this script.
137137```
138- bin/jruby test/mri/runner.rb test/mri/<path to test>
138+ ./ bin/jruby test/mri/runner.rb test/mri/<path to test>
139139```
140140
141141You can pass ` -v ` to the runner for verbose output or ` -n test_method_name ` to only run a single test method.
@@ -149,7 +149,7 @@ Excludes are in the form of Ruby scripts under `test/mri/exclude`, named based o
149149To run a given test with these excludes enabled, you can use the --excludes flag:
150150
151151```
152- bin/jruby test/mri/runner.rb --excludes=test/mri/excludes <test file>
152+ ./ bin/jruby test/mri/runner.rb --excludes=test/mri/excludes <test file>
153153```
154154
155155#### Run a single spec using RSpec
@@ -161,7 +161,7 @@ The notable exception is the "Ruby specs" under spec/ruby, which are run with ms
161161rspec will be installed with ` mvn package -Pbootstrap ` or you can install it manually.
162162
163163```
164- bin/jruby -S rspec spec/path/to/spec
164+ ./ bin/jruby -S rspec spec/path/to/spec
165165```
166166
167167#### Run a single "Ruby spec" using mspec
@@ -171,7 +171,7 @@ The specs under spec/ruby are part of the "Ruby spec" suite of tests and use the
171171Individual specs can be run with the mspec tool:
172172
173173```
174- bin/jruby spec/mspec/bin/mspec ci spec/ruby/<path to spec>
174+ ./ bin/jruby spec/mspec/bin/mspec ci spec/ruby/<path to spec>
175175```
176176
177177If ` ci ` is omitted or replaced with ` run ` you will see any specs known to fail. The ` ci ` command
@@ -183,7 +183,7 @@ If you are familiar with Java debuggers, you can attach one to a JRuby process u
183183The exact flag may vary with debugger and platform:
184184
185185```
186- JRUBY_OPTS="-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:5005" bin/jruby <rest of arguments>
186+ JRUBY_OPTS="-J-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=localhost:5005" ./ bin/jruby <rest of arguments>
187187```
188188#### JRuby internal unit tests
189189
0 commit comments