From: Radu Brumariu <brum76@gm...> - 2010-09-09 15:09:52
I use yaws from MacPorts, and I change the yaws.wrapper by adding '-pa
/opt/local/lib/erlang/lib/riakc-1.0.0/ebin' to the start command.
root 29951 0.0 0.2 93252 7700 ?? S 8:08AM 0:00.20
/opt/local/lib/erlang/erts-5.7.5/bin/beam.smp -K true -- -root
/opt/local/lib/erlang -progname erl -- -home /tmp -- -noshell -noinput
-heart -pa /opt/local/lib/yaws/ebin -pa
/opt/local/lib/erlang/lib/riakc-1.0.0/ebin -run yaws -conf
root 29940 0.0 0.0 75456 740 ?? Ss 8:08AM 0:00.01
/opt/local/bin/daemondo --label=yaws --start-cmd
/opt/local/etc/LaunchDaemons/org.macports.yaws/yaws.wrapper start ;
stop ; --restart-cmd
/opt/local/etc/LaunchDaemons/org.macports.yaws/yaws.wrapper restart ;
However, when I try to see if it knows about that path ( calling
code:which(riakc_pb_socket) ), I get "non_existing".
How can I make yaws know about the path ?
On 09/09/10 17:09, Radu Brumariu wrote:
> However, when I try to see if it knows about that path ( calling
> code:which(riakc_pb_socket) ), I get "non_existing".
> How can I make yaws know about the path ?
you can add paths to yaws.conf
# man yaws.conf
ebin_dir = Directory
This directive adds Directory to the erlang search path. It is
possible to have several of these command in the configuration