matsumoto-r/ngx_mruby — pull request #2 by cubicdaiya (2012-11-01 17:48:48+00:00)
Title: set absolute path mruby_root

Hi, ngx_mruby/config includes the following line.

```
mruby_root=../../vendors
```

Still the compilation of ngx_mruby with make in ngx_mruby succeeds.
But the compilation fails in the following situation.

```bash
$ ls
nginx-1.3.7 ngx_mruby
$ cd ngx_mruby
$ make libmruby.a
$ cd ../nginx-1.3.7
$ ./configure --add-module=../ngx_mruby
$ make
・
・
・
../ngx_mruby/ngx_http_mruby_module.c:27:19: fatal error: mruby.h: No such file or directory
compilation terminated.
make[1]: *** [objs/addon/ngx_mruby/ngx_http_mruby_module.o] Error 1
make[1]: Leaving directory `/home/bokko/nginx/nginx-1.3.7'
make: *** [build] Error 2
$
```

This patch makes mruby_root absolute path. Thus, the compilation succeeds in every situations.