Skip to content

Commit

Permalink
doc: mentioned the bitop library dependency when using the standard L…
Browse files Browse the repository at this point in the history
…ua 5.1 interpreter. thanks Laurent Arnoud for the patch in #9.
  • Loading branch information
agentzh committed Aug 29, 2014
1 parent 6c0b591 commit 505f577
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -536,10 +536,13 @@ It is recommended to use the latest [ngx_openresty bundle](http://openresty.org)
is bundled and enabled by default. At least ngx_openresty 1.4.2.9 is required. And you need to enable LuaJIT when building your ngx_openresty
bundle by passing the `--with-luajit` option to its `./configure` script. No extra Nginx configuration is required.

If you want to use this library with your own Nginx build (with ngx_lua), then you need to
ensure you are using at least ngx_lua 0.9.0. Also, You need to configure
the [lua_package_path](https://github.com/chaoslawful/lua-nginx-module#lua_package_path) directive to
add the path of your lua-resty-websocket source tree to ngx_lua's Lua module search path, as in
If you want to use this library with your own Nginx build (with ngx_lua), then
you need to ensure you are using at least ngx_lua 0.9.0
(and [lua-bitop](http://bitop.luajit.org/) library if you are not using LuaJIT).
Also, You need to configure the
[lua_package_path](https://github.com/chaoslawful/lua-nginx-module#lua_package_path)
directive to add the path of your lua-resty-websocket source tree to ngx_lua's
Lua module search path, as in

```nginx
# nginx.conf
Expand Down

0 comments on commit 505f577

Please sign in to comment.