Closed Nesh108 closed 12 years ago
I fixed it by running these:
application:start(sasl), application:start(ibrowse), application:start(jiffy), application:start(inets), application:start(xmerl), application:start(compiler), application:start(syntax_tools), application:start(mochiweb), application:start(couchbeam).
Hrm you shouldn't need to start all these applications. It may be better to add needed dependencied to your erlang release or use couchbeam:start()
which start dependencies .
Yeah, that worked. The result is exactly the same but is it indeed shorter and probably better to understand. Thanks :)
np :) closing the issue then :)
Hello! I am here because I am trying to use Couchbeam form my page on a YAWS. I have tested CB and it worked correctly from Terminal, using:
erl -pa ebin -pa deps/ibrowse/ebin -s couchbeam
Now I am trying to replicate what I did locally on my webpage. I believe the issue is that I don't know how to tell erl to do 'erl -pa ebin -pa deps/ibrowse/ebin -s couchbeam' from a yaws page.
I have tried to simply running all the needed apps, but I am getting this:
This is my erl code: