Add note about installing and testing mini_racer

This commit is contained in:
Jun Aruga 2016-07-19 13:35:39 +02:00
parent e57706ff06
commit 73bdb09a9b
1 changed files with 9 additions and 0 deletions

View File

@ -34,6 +34,15 @@ bundle install
bundle exec rake
```
Note that test:miniracer is failed in the tests, because mini_racer is not installed, and it is mutually exclusive with therubyracer.
To run test:miniracer
```
EXECJS_RUNTIME=MiniRacer bundle install --path=<path>
EXECJS_RUNTIME=MiniRacer bundle exec rake test:miniracer
```
#### Write Tests
Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build. Add to [test](test).