[backend] fix call of build script with emulator mode
[api][webui] update to rails 3.2.12