Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

add some notes to README.md

Christopher Hillerb7ffac726f1f
diff --git a/README.md b/README.md
index 0be8a8dc..538228fe 100644
--- a/README.md
+++ b/README.md
@@ -15,6 +15,26 @@
1. Execute `npm install`. This will install [Bundler](http://bundler.io), Jekyll, and [markdown-toc-index](https://www.npmjs.com/package/markdown-toc-index).
2. To build, execute `npm run build` or `make build`
+### Problems?
+
+#### Permissions-Related
+
+If `npm install` fails due to an `EACCESS` problem, try this:
+
+```shell
+$ sudo gem install bundler
+$ npm install --ignore-scripts
+$ bundle install
+```
+
+#### Ruby-Related on OS X
+
+You may need to install the Xcode command line tools if `bundle install` fails somewhere. Execute this:
+
+```shell
+$ xcode-select --install
+```
+
## Local development
1. Run `make` to build the project and start a development server that auto-watches for changes on http://localhost:3000